/jwt-access-and-refresh-tokens-nodejs-template

This project demonstrates how to generate and refresh expired jwt access tokens.

Primary LanguageTypeScriptApache License 2.0Apache-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.