1.0.0-alpha.0 • Published 2 years ago
@personalhealthtrain/result-service v1.0.0-alpha.0
Result Service 🏭
This repository contains the Result Service of the Personal Health Train. It communicates with some services of the PHT and need therefore to be configured properly, like described in the following sections.
Table of Contents
Installation
git clone https://github.com/PHT-Medic/central-result-service
cd central-result-service
npm i
Configuration
The following settings need to be added to the environment file .env
in the root directory.
PORT=<port>
NODE_ENV=development
REDIS_CONNECTION_STRING=redis://<username>:<password>@<host>
RABBITMQ_CONNECTION_STRING=amqp://<username>:<password>@<host>
HARBOR_CONNECTION_STRING=<user>:<password>@<url>
VAULT_CONNECTION_STRING=<token>@<url>/v1/
Usage
Production
# build application for production 🛠
npm run build
# run application ⚔
npm run start
Development
# serve application on the fly 🔥
npm run dev
Credits
If you have any questions, feel free to contact the author Peter Placzek of the project. The project was initially developed during his bachelor thesis, and he worked after that as employee on the project.
1.1.0-0
2 years ago
1.0.0-alpha.0
3 years ago