- Clone the project
- If cloning for the first time, create a .env file(if not created already), copy the contents .env.example into the new .env file
- Update your .env file with the appropriate values
Check the default environment variables in config folder on the directory `src/v1/config``, change values in .env file to override defaults
PORT: Default value is 8000, change if you want to run server on another port
DB_URL: Url of mongo db
- Install dependencies =>
npm install
- Start the application in development environment with command
npm run dev
andnpm start
for production environment - To run test run
npm test