Microservice Template

Microservice skeleton

Pre-requisites

Install a recent version of Node.js and Node package manager (npm) via your preferred method.

Setup

In the project directory, launch:

npm install

You'll need to do this once or when dependencies change.

Run

Start the service

in development mode

npm run serve

in production mode:

npm start

Test

Jshint checking ant tests:

npm test