- npm start Will begin the server process using Nodemon.
- or gulp Gulp should open a new browser window for you, but if it doesn't, just point your browser to: localhost:3000
- I used postman for testing the API
- node.js
- express
- mongoose
- body-parser
- gulp
- gulp-nodemon
- sinon
- gulp-mocha
- gulp-env
- supertest
- First install node.js and mongodb. Then:
$ npm init
$ npm install express --save
$ npm install mongoose --save
$ npm install body-parser --save
$ npm install gulp --save
$ npm install gulp-nodemon --save
$ npm install gulp-mocha should sinon --save-dev
$ npm install gulp-env --save-dev
$ npm install supertest --save
- npm test
- Install MongoDB from here
- Create a C:/data/db folder
- Add Mongo folder to PATH
- Run mongod
- Run mongo
- Install Robo3t for MongoDB GUI
- create a database (eg. eventAPI)