Backend API server for the Clothify e-commerce application — built with Node.js, Express, and MongoDB.
This RESTful API powers user authentication, product data, cart & order operations, and connects with the frontend client at:
🔗 https://github.com/YasithWijesuriya/MERN-clothify-Frontend
The Clothify backend includes:
User authentication (sign up, login)
Product CRUD & listing
Cart & order management
JWT token authorization
MongoDB database integration with Mongoose
REST API endpoints for frontend consumption
It follows a standard MERN (MongoDB, Express, React, Node) backend structure to serve your e-commerce platform features.
- Register new users
- Login with secure password hashing
- JWT token authentication for protected routes
- Add, view, update, and delete products
- Filter and retrieve product lists
- Add items to cart
- Create and manage orders
- Fetch user order history
- Uses MongoDB with Mongoose models
git clone https://github.com/YasithWijesuriya/MERN-Clothify-backend.git
cd MERN-Clothify-backend