A highly interactive web application built with the MERN (MongoDB, Express.js, React, Node.js) stack. This app allows users to browse, customize, and purchase digital clothing with real-time customization features and virtual try-on functionality.
- βοΈ React.js
- π₯ Context API
- π¨ Tailwind CSS
- π€ React Router
- π¬ Framer Motion (for animations)
- π’ Node.js
- β‘ Express.js
- π MongoDB
- π Mongoose
- π JWT Authentication
- π³ Stripe (for payments)
- π₯ Frontend: Vercel
- βοΈ Backend: Vercel
- π Database: MongoDB Atlas
- β Secure user registration and login with JWT authentication.
- π€ Users can manage their profiles with a visually appealing UI.
- β Add, βοΈ update, and β delete digital clothing items.
- πΈ Each item has a name, description, price, image, and customization options.
- π Users can personalize outfits (change colors, patterns, accessories in real-time).
- π Live preview of changes using React state management (Redux/Context API).
- πββοΈ Users can create a digital mold of their body shape.
- π Virtual try-on feature to see outfits in real-time.
- π Add items to cart with dynamic and animated UI.
- π Smooth transitions and persistent cart state.
- π° Integrated payment gateway (Stripe) for seamless checkout.
- π± Fully responsive UI with modern design.
- π Seamless navigation using React Router.
- π Deployed on Vercel, Netlify, or Heroku.
- π Environment variables used for sensitive configurations.
- β‘ Optimized React build for production.
git clone https://github.com/Rahulkrsharma2004/Digital-Clothing.gitcd Frontend
npm installcd Backend
npm installCreate a .env file in both frontend and backend directories and add necessary environment variables.
cd backend
npm run startcd frontend
npm run devVisit http://localhost:5173 to use the application.
POST /users/register- Register a new userPOST /users/login- Login user
GET /products- Fetch all productsPOST /products/add- Add new product (Admin only)PUT /products/update/:id- Update product (Admin only)DELETE /products/delete/:id- Delete product (Admin only)
POST /carts- Add to cartGET /carts- Get cart itemsDELETE /carts/:id- Remove item from cart
POST /api/payments/checkout- Handle checkout process
npm run build
vercel deploynpm run build
vercel deployThis project is licensed under the MIT License.








