E-Commerce Platform — REST API
Node.js · Express.js · Mongoose ·Redis · Multer. cloudinary
• Designed and built a modular RESTful backend with 8 modules (Auth, User, Product, Category, Cart, Order, Review, Reports) using a layered architecture (controller / service / repository).
• Implemented secure JWT authentication with access/refresh tokens, token revocation via Redis blacklist, role-based authorization (User/Admin), and logout from single or all devices.
• Built email verification & password reset with OTP, including rate limiting, attempt caps, and temporary blocking using Redis TTL.
• Developed an admin analytics module using MongoDB aggregation pipelines (sales over time, order status breakdown, top-selling products, user growth).
• Added product management with image upload (Multer + Cloudinary), search, filtering, sorting, and pagination.
• Hardened the API with Helmet, CORS, rate limiting, and request validation (Joi), plus centralized error handling with custom exceptions.