A full-stack eCommerce application built with the MERN stack (MongoDB, Express.js, React.js, Node.js) and deployed on Vercel.
This project demonstrates how to build and deploy a modern online store with product browsing, cart management, checkout, and admin dashboard functionality.
sample login details: Email: user.gssde@gmail.com Password: qwerty123
- Browse and explore products
- Filter and sort products
- Select product variants (e.g., size)
- Add products to cart
- Place orders with delivery address
- Payment options:
- Cash on Delivery (COD)
- Online payments via Stripe and Razorpay
- Upload new products
- Delete products
- View and manage all products in the store
- Monitor customer orders
- Frontend: React.js, Vite, TailwindCSS, Axios, React Router, React Toastify
- Backend: Node.js, Express.js
- Database: MongoDB (Mongoose ORM)
- Payments: Stripe, Razorpay
- Deployment: Vercel
📦 ecommerce-app ├── 📂 backend │ ├── 📂 controllers # Business logic (products, orders, users) │ ├── 📂 models # Mongoose schemas (Product, User, Order) │ ├── 📂 routes # API endpoints (auth, products, orders, payments) │ ├── 📂 middleware # Auth, error handling │ ├── 📂 config # DB connection, Stripe/Razorpay setup │ ├── server.js # Backend entry point │ └── package.json # Backend dependencies │ ├── 📂 frontend │ ├── 📂 src │ │ ├── 📂 components # Reusable UI components │ │ ├── 📂 pages # Page-level views (Home, Cart, Checkout, Admin) │ │ ├── 📂 routes # React Router setup │ │ ├── 📂 context # Global state (cart, auth) │ │ ├── 📂 services # Axios API calls │ │ ├── App.jsx # Root component │ │ └── main.jsx # Entry point │ ├── 📂 public # Static assets │ └── package.json # Frontend dependencies │ ├── .env # Environment variables (Mongo URI, API keys) ├── vercel.json # Vercel deployment config ├── README.md # Documentation └── package.json # Root config (optional if split frontend/backend)
- Clone the repository
git clone https://github.com/your-username/ecommerce-app.git cd ecommerce-app - Backend setup cd backend npm install npm run server
- Add your environment variables in .env (MongoDB URI, Stripe keys, Razorpay keys, etc.)
- Frontend setup cd frontend npm install npm run dev
- Configure VITE_BACKEND_URL in .env to point to your backend server.
- Build & Deploy
- Frontend deployed on Vercel
- Backend can be hosted on services like Render, Railway, or Vercel serverless functions
🌐 Live Demo 👉 View Project on Vercel Ecommerce Main page - https://forever-frontend-six-sage.vercel.app/ Admin Panel - https://forever-admin-panel-delta.vercel.app/
📸 Screenshots



