Skip to content

YasithWijesuriya/MERN-Clothify-backend

Repository files navigation

🛍️ MERN Clothify Backend

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


Overview

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.


Features

Authentication

  • Register new users
  • Login with secure password hashing
  • JWT token authentication for protected routes

Product Management

  • Add, view, update, and delete products
  • Filter and retrieve product lists

Cart & Order Endpoints

  • Add items to cart
  • Create and manage orders
  • Fetch user order history

Database

  • Uses MongoDB with Mongoose models

Installation

1. Clone the repository

git clone https://github.com/YasithWijesuriya/MERN-Clothify-backend.git
cd MERN-Clothify-backend

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors