Skip to content

Latest commit

 

History

History

notification-service

Build a NodeJS microservice and deploy it to Docker

Standard - JavaScript Style Guide

Example of the notification service microservice and API.

Stack

  • NodeJS 7.5.0
  • MongoDB 3.4.1
  • Docker for Mac 1.13

how to run it

This to run our microservice in a docker container we need docker installed

$ bash < start-service.sh

To run in locally we need nodejs installed

  • install the dependencies
$ npm i --silent
  • run the tests
$ npm test
  • start the service
$ npm start

Standard - JavaScript Style Guide