https://github.com/akshaymittal143/bookapi-web-services
Node.js is a simple and powerful tool for back-end development. When combined with express, you can create lightweight, fast, scalable APIs quickly and simply. which will walk through how to stand up a lightweight Express server serving truly RESTful services using Node.js, Mongoose, and MongoDB. We will implement all of the RESTful verbs to get, add, and update data from our service. We will also spend some time working through unit and end to end integration tests for our services.
https://github.com/akshaymittal143/bookapi-web-services
expressjs gulp mocha mongodb mongoose nodejs postman restful-api supertest
Last synced: 2 months ago
JSON representation
Node.js is a simple and powerful tool for back-end development. When combined with express, you can create lightweight, fast, scalable APIs quickly and simply. which will walk through how to stand up a lightweight Express server serving truly RESTful services using Node.js, Mongoose, and MongoDB. We will implement all of the RESTful verbs to get, add, and update data from our service. We will also spend some time working through unit and end to end integration tests for our services.
- Host: GitHub
- URL: https://github.com/akshaymittal143/bookapi-web-services
- Owner: akshaymittal143
- License: unlicense
- Created: 2017-09-21T01:00:22.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-05T17:31:45.000Z (over 8 years ago)
- Last Synced: 2025-06-18T11:51:03.051Z (about 1 year ago)
- Topics: expressjs, gulp, mocha, mongodb, mongoose, nodejs, postman, restful-api, supertest
- Language: JavaScript
- Homepage: https://github.com/akshaymittal143/RESTful-Web-Services-with-Node.js-and-Express
- Size: 63.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RESTful Web Services with Node.js and Express
[](https://stackshare.io/akshaymittal143/akshay)
[](https://travis-ci.org/swagger-api/swagger-ui)
[](http://badge.fury.io/js/swagger-ui)
[](https://david-dm.org/swagger-api/swagger-ui)
[](https://david-dm.org/swagger-api/swagger-ui#info=devDependencies)
# Getting Started
* npm start Will begin the server process using Nodemon.
* gulp
Gulp should open a new browser window for you, but if it doesn't, just point your browser to:
localhost:8000
# Dependencies
* node.js
* express
* mongoDB
* gulp
* mocha -sinon
* supertest
# To Run tests
* npm test
# Setting up database
* Install MongoDB from here
* Create a C:/data/db folder
* Add Mongo folder to PATH
* Run mongod
* Run mongo
* Execute content from booksData.js inside mongo shell
* https://gist.github.com/akshaymittal143/f86b7a474a5ef5d530786b74b471791f