1.0.0 • Published 7 years ago

interoperability-layer-api v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
7 years ago

ILManager

Description

  • This is the REST API for the IL, with endpoints for getting the Participating Systems, Message Types, Message Subscriptions, Usage Stats and Notifications

Setup steps

  • First you need to install nodejs and pm2
  • To create a build, run the following:

    npm run build

    Transpiles the ES7 and ES6 javascript to ES5, in a dist folder Copies the node_modules folder to the dist folder. Copies the config dir to the dist directory

    pm2 start dist/src/lib/index.js -i max

    Once you create the dist, you can copy it to your production server, and run the pm2 command. This command runs up the API, with the cluster mode activated. This means the API will utilize all the available CPU cores available, for an optimized performance.

    pm2 startup