visakhvjn / api-boilerplate-nestjs

0 stars 1 forks source link

Add the boilerplate for auth module #1

Closed visakhvjn closed 5 months ago

visakhvjn commented 5 months ago

Implement the JWT mechanism

The auth module should have the following endpoints

POST /auth

{
    email: <string>,
    password: <string>
}

POST /auth/refresh Token needed: Refresh Token

Response

{
    accessToken: <string>,
    refreshToken: <string>
}