- Link: https://nodejs.org/en/
- Download version 8.11.4 LTS
-
For Mac user, use homebrew to download
- Run 'brew install mongodb'
- Run 'brew services start mongodb' to start mongodb background service
-
For Windows users, download at
-
Recommended mongodb visualizer: Robo 3T
- In your IDE, enable Javascript: ECMAScript 6 (ES6)
- Navigate to the project folder in terminal
- Run 'npm install'
- Run 'npm run testSetup', you should get a console response
- To start the server, run 'npm start'
- Top stop the server, press ctrl+c to stop the server
- Integration test: 'npm run test:integration'
- Run 'npm install'
- Run 'npm start'
- The API documentation is at http://localhost:3000/api-docs
- Insert dummy user: 'npm run db:insert'