Skip to content

Files

Latest commit

2d9ea6b · Jul 6, 2024

History

History
27 lines (24 loc) · 656 Bytes

SETUP_INSTRUCTION.md

File metadata and controls

27 lines (24 loc) · 656 Bytes

Set up Instruction

Backend

Prerequisites

  • Nodejs
  • MongoDB

Set up

git clone https://github.com/akai-org/ClubHub-Backend.git
cd ./ClubHub-backend/backend
npm install  

.env

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