Service for devices management.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
nodeJS
postgres
- Install npm project dependecies
npm install
-
Install PostgreSQL and configure it
-
Set environments variables
PORT // the micro-service port
TYPEORM_CONNECTION = postgres
TYPEORM_DATABASE = devices
TYPEORM_ENTITIES = build/entities/**/**.js
TYPEORM_HOST = // host of database
TYPEORM_PASSWORD = // password of database
TYPEORM_PORT = // port of database
TYPEORM_SYNCHRONIZE = true
TYPEORM_USERNAME = // username of database
- Compile Typescript
npm run tsc
- Run micro-service
node build/app.js
This project is licensed under the GNU License - see the LICENSE.md file for details