This project is currently in development. More updates and a stable release to come!
npm install --save nestjs-jwt-auth
// app.module.ts
import { NestAuthModule } from 'nestjs-jwt-auth';
imports: [
NestAuthModule,
]
The nestjs-jwt-auth
module will automatically load your database connection.
You must have a database table called user
with at least the fields:
- username
- password