NestJS JWT with access_token & refresh_token
Getting started
- Clone this repository
- Use docker to run postgres instance
docker compose up
- Install project dependencies
npm install
- Run project in dev mode
npm run start:dev
Packages included
- prisma with postgres
- passport for auth strategy
- class validator for input validator
- bycrypt for password hashing