1.1.2 • Published 2 years ago

trace-user v1.1.2

Weekly downloads
-
License
(ISC OR GPL-3.0)
Repository
gitlab
Last release
2 years ago

Trace User Service

Trace User is user service for PeduliLindungi, handling registration and login.

Service Documentation & Resources

Set Up Development

Requirements:

Install dependencies:

npm install

Port-forward using OpenShift Client (oc): (just a sample, it's up to you which backing services that you want to port-forwarwd)

oc port-forward mongodb-trace-8-q5kb9 27018:27017
oc port-forward redis-4-hht46 6379:6379
oc port-forward kafka-9-ck24m 9092:9092

Run in development:

npm start

Copy from .env.development and into .env file. You can also see https://gitlab.playcourt.id/trace/backend/trace-certificate-go/-/blob/master/.env.example . Configure the values to match your local development environment or staging environment.

Run Tests

npm test

Build Project as Binary

Build project:

npm build

Dependencies