Skip to content

Latest commit

 

History

History
31 lines (27 loc) · 1.13 KB

README.md

File metadata and controls

31 lines (27 loc) · 1.13 KB

Node.js CI codecov CodeQL

Express Logo

tokenAuth

Steps for running:

  1. Clone project from git
  2. To run with docker, you need docker and docker-compose installed
  3. build image
docker-compose up --build
  1. Server must be up and running in: http://localhost:3002

Build

To do a stable build in your instance:

docker build .

Build Local

Case executing locally you must first create a .env file copy template from env-sample

  1. cp env-sampe .env
  2. fill in values in .env for your current configuration
  3. uncomment Dockerfile the line (seven) that copy your .env file to container
  4. docker build .

Tests

  1. npm t (unit tests)
  2. npm run coverage (coverage)