Skip to content
Snippets Groups Projects
README.md 1.29 KiB

Legacy AUTH middleware

Installation

This middleware has been developed with the NestJS framework. It requires Node.js in order to run.

Once Node.js installed on your computer, you will need to install the project's dependencies. Go to the root of the project and run the following command.

npm install

Environment variables

In order to run the code, some environment variables are needed. They are specified in the template.env file at the root of the project.

For a local deployment:

  1. cp template.env .env
  2. Edit .env according to the chosen configuration

The values will be read from the file by default when running with docker. If you run the service outside of docker you can export those variables.