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
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
- API Url: http://localhost:5050/api
 - API Swagger Url: http://localhost:5050/swagger
 
Please follow and star ❤️⭐
Source Code;
https://github.com/atakanuludag/nestjs-basic-auth-rest-api
              

    
Top comments (0)