Skip to content

A sample NodeJS app demonstrating ES6 (Babel) using Express, Bluebird (Promises), Mocha and Chai

Notifications You must be signed in to change notification settings

j-perry/NodeJS-ES6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

A sample NodeJS app demonstrating ES6 (Babel) using Express, Bluebird (Promises), Mocha and Chai

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published