ntroducing a comprehensive E-commerce API packed with essential features and functionalities. Here's a snapshot of what it offers:
Key Features:
User Authentication: Secure endpoints leveraging JWT tokens.
Cart Management: Create, retrieve, update, and delete carts while ensuring stock availability.
User Profiles: Access and update user profiles, fetch all users, including profile pictures and contact info.
Order Management: Retrieve all user orders, process online payments via Stripe, and handle COD orders.
Coupons: Access all coupons, manage specific coupons, update, and delete.
Brand Management: Fetch all brands or specific ones, add with or without images, update, and delete.
Category Management: Retrieve all categories or specific ones, add, update, and delete.
Subcategory Management: Access all subcategories or specific ones, add, update, and delete.
Product Management: Retrieve all products or specific ones, add with images, update, and delete.
Reviews: Access all reviews, add new ones, update, and delete.
Image Uploads: Manage image uploads for products or brands.
Pagination: Efficiently handle large data sets with pagination.
Search Functionality: Flexible search across various fields.
Custom Middleware: Extend and customize functionality using Express.js middleware.
Technologies Used:
JavaScript
Node.js (Express.js)
Multer
Slugify
Cloudinary for cloud services
JWT for authentication
Authorization
Bcrypt for password hashing
Express-async-handler for error management
Global error handling
Ongoing Developments:
Unit testing
Docker containerization
Notifications