Skip to content

joramkimata/nestjs-graphql-backend-starter

Repository files navigation

Requirements

node -v
v16.17.0
npm i -g @nestjs/[email protected]

Login as Admin

POST: https://localhost:3000/auth/login

Payload:
{
    "email": "[email protected]",
    "password": "admin.2022"
}

User Profile

GET: https://localhost:3000/auth/profile

Header: Auth: 'Bearer <toke>'

Refresh Token

POST: https://localhost:3000/auth/refresh

{
    "refreshToken": "<refresh_token>"
}

Logout Endpoint

GET: https://localhost:3000/auth/logout

Header: Auth: 'Bearer <toke>'

[API Doc]

https://localhost:3000/graphql

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published