Handles user authentication and authorization.
auth/
├── auth.module.ts
├── auth.controller.ts
├── auth.service.ts
├── dtos/ # Auth-specific DTOs (register, login, token)
├── strategies/ # Passport strategies (jwt, local)
├── entities/ # (if needed)
└── README.md
- User Registration (email/phone verification)
- User Login (credential validation)
- JWT Token Generation
- Token Refresh
- Password Reset
- Email/Phone Verification
- Social Authentication (optional)
POST /auth/register- Register new userPOST /auth/login- Login userPOST /auth/refresh- Refresh tokenPOST /auth/logout- LogoutPOST /auth/forgot-password- Initiate password resetPOST /auth/verify-email- Verify email address
Add your name here when you start working on this module: