- Nodejs
- MongoDB
git clone https://github.com/akai-org/ClubHub-Backend.git
cd ./ClubHub-backend/backend
npm install
Create .env file with all enviromental variables which app will use
example .env
PORT = 3000
JWT_SECRET = some_random_string
NODE_ENV = development
variable | description | type |
---|---|---|
PORT |
port on which backend will recive its all requests | integer |
JWT_SECRET |
secret that will be used for Json Web Tokens to hash certain data | string |
NODE_ENV |
node enviroment development or production |
string |