Skip to content

Latest commit

 

History

History
75 lines (50 loc) · 684 Bytes

README.MD

File metadata and controls

75 lines (50 loc) · 684 Bytes

User Service

Service response for user management.

Clone

git clone TBD

Build

Build npm project

npm i

Build docker images

 docker build -t user-service .

Test

Run unit and integration test

npm test

Check code coverage

npm start nyc

or with html report

npm start nyc-report

Run end to end test

TBD

Run

Run locally

npm start

Run thru docker compose

Create .env file with own configuration

DB_HOST=1localhost
DB_PORT=5432
DB_NAME=user-service-prod
DB_USER=user-service
DB_PASSWORD=user-service-password

and run

docker-compose up