- Create a file called .env in the root directory with content as follows:
NODE_ENV=development
PORT=4000
CB_URL=http://localhost:4000
MAIL_HOST=<SMTP SERVER>
MAIL_USER=<SMTP USER>
MAIL_PASS=<SMTP PASS>
SECRET_KEY=<KEY>
MONGO_URI=<MONGODB URL>
Development
npm run start-dev
Production
npm start