To start up project:
-
create .env file with following variables: DATABASE_URL= POSTGRES_DB= POSTGRES_USER= POSTGRES_PASSWORD= NODE_ENV= JWT_SECRET=
-
then run
docker-compose up
This command starts up the database and Redis.
This project demonstrates how to generate and refresh expired jwt access tokens.
TypeScriptApache-2.0
To start up project:
create .env file with following variables: DATABASE_URL= POSTGRES_DB= POSTGRES_USER= POSTGRES_PASSWORD= NODE_ENV= JWT_SECRET=
then run docker-compose up
This command starts up the database and Redis.