DEV Community

Cover image for NestJS MongoDB Basic Auth Rest API ⚡
Atakan Yasin Uludağ
Atakan Yasin Uludağ

Posted on

NestJS MongoDB Basic Auth Rest API ⚡

Hi,
I created simple rest auth api with NestJS framework. Source codes are in the Github link at the bottom of the page :)

Framework: NestJS

Swagger

Swagger Auth Endpoint

Packages

  • Nestjs
  • Mongoose
  • Passport
  • Typescript

Endpoints

  • /user/login (Post)
  • /user/register (Post)
  • /user/profile (Get)
  • /user/:id (Get)

Ports and links can be edited from env file

Please follow and star ❤️⭐

Source Code;
https://github.com/atakanuludag/nestjs-basic-auth-rest-api

Top comments (0)