Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 830 Bytes

File metadata and controls

40 lines (29 loc) · 830 Bytes

Build a NodeJS microservice and deploy it to Docker

Standard - JavaScript Style Guide

Example of the payment 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