Skip to content

This project is a full-stack web application developed using the MERN (MongoDB, Express.js, React, Node.js) stack. It offers users an interactive platform to browse, customize, and purchase digital clothing items. The application emphasizes a dynamic and responsive user interface

Notifications You must be signed in to change notification settings

Rahulkrsharma2004/Digital-Clothing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ‘— MERN Digital Clothing Web App

πŸ“œ Description

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.

πŸ–Ό Demo

Screenshot (177) Screenshot (178) Screenshot (179) Screenshot (180) Screenshot (181) Screenshot (182) Screenshot (183) Screenshot (184) Screenshot (185)

πŸš€ Tech Stack

🌐 Frontend:

  • βš›οΈ React.js
  • πŸ”₯ Context API
  • 🎨 Tailwind CSS
  • πŸ›€ React Router
  • 🎬 Framer Motion (for animations)

πŸ–₯ Backend:

  • 🟒 Node.js
  • ⚑ Express.js
  • πŸƒ MongoDB
  • πŸ— Mongoose
  • πŸ” JWT Authentication
  • πŸ’³ Stripe (for payments)

🌍 Deployment:

  • πŸ–₯ Frontend: Vercel
  • ☁️ Backend: Vercel
  • πŸ—„ Database: MongoDB Atlas

✨ Features

πŸ”‘ User Authentication

  • βœ… Secure user registration and login with JWT authentication.
  • πŸ‘€ Users can manage their profiles with a visually appealing UI.

πŸ› Product Management (Admin Panel)

  • βž• Add, ✏️ update, and ❌ delete digital clothing items.
  • πŸ“Έ Each item has a name, description, price, image, and customization options.

🎨 Advanced Customization

  • 🎭 Users can personalize outfits (change colors, patterns, accessories in real-time).
  • πŸ”„ Live preview of changes using React state management (Redux/Context API).

πŸ•Ά Avatar & Virtual Try-On

  • πŸƒβ€β™‚οΈ Users can create a digital mold of their body shape.
  • πŸ‘— Virtual try-on feature to see outfits in real-time.

πŸ›’ Shopping Cart & Checkout

  • πŸ› Add items to cart with dynamic and animated UI.
  • πŸ”„ Smooth transitions and persistent cart state.
  • πŸ’° Integrated payment gateway (Stripe) for seamless checkout.

🎨 Frontend Development (React Focused)

  • πŸ“± Fully responsive UI with modern design.
  • πŸš€ Seamless navigation using React Router.

🌍 Deployment

  • πŸš€ Deployed on Vercel, Netlify, or Heroku.
  • πŸ”‘ Environment variables used for sensitive configurations.
  • ⚑ Optimized React build for production.

πŸ›  Installation and Setup

πŸ“₯ 1. Clone the repository:

git clone https://github.com/Rahulkrsharma2004/Digital-Clothing.git

πŸ“¦ 2. Install dependencies:

Frontend:

cd Frontend
npm install

Backend:

cd Backend
npm install

πŸ”‘ 3. Setup environment variables

Create a .env file in both frontend and backend directories and add necessary environment variables.

▢️ 4. Run the application

Start backend server:

cd backend
npm run start

Start frontend server:

cd frontend
npm run dev

🌐 5. Open in Browser

Visit http://localhost:5173 to use the application.

πŸ“‘ API Endpoints

πŸ” Authentication

  • POST /users/register - Register a new user
  • POST /users/login - Login user

πŸ› Products

  • GET /products - Fetch all products
  • POST /products/add - Add new product (Admin only)
  • PUT /products/update/:id - Update product (Admin only)
  • DELETE /products/delete/:id - Delete product (Admin only)

πŸ›’ Cart

  • POST /carts - Add to cart
  • GET /carts - Get cart items
  • DELETE /carts/:id - Remove item from cart

πŸ’³ Payments

  • POST /api/payments/checkout - Handle checkout process

πŸš€ Deployment

πŸ“€ Frontend Deployment (Vercel / Netlify)

npm run build
vercel deploy

πŸ“€ Backend Deployment (vercel / Render)

npm run build
vercel deploy

πŸ“œ License

This project is licensed under the MIT License.

πŸ‘₯ Contributors

About

This project is a full-stack web application developed using the MERN (MongoDB, Express.js, React, Node.js) stack. It offers users an interactive platform to browse, customize, and purchase digital clothing items. The application emphasizes a dynamic and responsive user interface

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published