Developed a secure authentication and user management system for an E-Commerce platform using Node.js, Express.js, and MongoDB.
The API provides a complete authentication workflow with secure JWT-based authorization, profile management, and administrator controls.
Features
User Registration
User Login
JWT Authentication
Refresh Token
Secure Logout
Role-Based Authorization (Admin/User)
Update User Profile
Get User Profile
Get All Users (Admin)
Update User (Admin)
Delete User (Admin)
Password Hashing with bcrypt
Input Validation
Global Error Handling