Skip to content

A microservice for token based security authentication using Express.js and Jwt.io

License

Notifications You must be signed in to change notification settings

danizavtz/tokenAuth

Repository files navigation

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)

About

A microservice for token based security authentication using Express.js and Jwt.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published