Backend Webservice using NodeJs and Express
![PRs Welcome](https://camo.githubusercontent.com/a5ceaa9e114c16d2c7cfd7ef62032b26b6eb47b61b1263ae4ebc5497fedd45b2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5052732d77656c636f6d652d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)
- 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
- 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)