NodeJS-ES6
This project demonstrates how to apply ES6 JS to a NodeJS project using Babel, Express and Bluebird (Promises). It also supports automated tests using Mocha and Chai (TDD/BDD).
It is recommended you view the project inside Visual Studio Code.
You'll need to install Robomongo, then create a database named 'people'
and a collection named 'es6'
.
Install and use Postman to manually test the API endpoints.
Setup
npm i
Usage
Run: npm start
Stop: npm stop
Tests: npm test
Postman
https://localhost:3000/People/api/user/
https://localhost:3000/People/api/user/<endpoint>