Steps for running:
- Clone project from git
- To run with docker, you need docker and docker-compose installed
- build image
docker-compose up --build
- Server must be up and running in: http://localhost:3002
To do a stable build in your instance:
docker build .
Case executing locally you must first create a .env file copy template from env-sample
cp env-sampe .env
- fill in values in .env for your current configuration
- uncomment Dockerfile the line (seven) that copy your .env file to container
docker build .
npm t (unit tests)
npm run coverage (coverage)