To run this project, do the following:
create .env with the following code (update credentials). Make sure to create .env in the root directory of the project. nodeapi/.env :
APP_NAME=nodeapi MONGO_URI=mongodb://localhost:27017/nodeapi PORT=8080 JWT_SECRET=xxxxxx CLIENT_URL=http://localhost:3000 NODE_ENV=production
Then run the following commands to start up the app :
cd nodeapi npm install npm run dev