trace-user
v1.1.2
Published
Trace User is user service for PeduliLindungi, handling registration and login
Downloads
21
Maintainers
Readme
Trace User Service
Trace User is user service for PeduliLindungi, handling registration and login.
Service Documentation & Resources
- Trace User Service Documentation
- backend/trace-user at GitLab
- trace-user at SonarQube
- trace-user at Jenkins CI
- trace-user at DataDog
- Logging
Set Up Development
Requirements:
- NodeJS v14.x
- PlayCourt Private Repository
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
- Restify v8.x