1.0.3 • Published 2 years ago
supravat-package v1.0.3
Node Control Centre
Maintains full state managment logic for the networks and nodes. Acts as the coordinator between microservices.
Configuration
Configure sensitive creds:
$ echo "NODE_ENV=development
NODE_CONFIG_ENV=development
RABBITMQ_USER=<rabbitmq user>
RABBITMQ_PASS=<rabbitmq password>
PGUSER=<Postgres password>
PGPASS=<Postgres user>
" >> ./.env
Setup
For Development
$ npm i --dev
$ npm run build
$ npm start
For Production
$ nvm ci
$ npm run build
$ npm start
Tests
To check linting
$ npm i --dev
$ npm run lint
To run tests
$ npm i --dev
$ npm run test