Demo project with jwt authentication and refresh token.
Using npm:
$ npm install
Using yarn:
$ yarn
Create file called .env and copy below content to him. After replace the content.
# Typeorm Config
DB_TYPE=postgres
DB_HOST=localhost
DB_PORT=5432
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_DATABASE=database
# Secret key Config
SECRET_KEY=secret_key
# App Config
PORT=3334