Our Location
304 North Cardinal St.
Dorchester Center, MA 02124
Original price was: ₨ 6,000.₨ 5,400Current price is: ₨ 5,400.
A full-featured e-commerce platform built on the MERN Stack (MongoDB, Express.js, React.js, Node.js) — a JavaScript-based technology stack that enables end-to-end development in a single language.
| Layer | Technology | Role |
|---|---|---|
| Database | MongoDB (Mongoose ODM) | NoSQL document store for products, users, orders, and reviews |
| Backend | Node.js + Express.js | REST API server, business logic, authentication |
| Frontend | React.js (Vite/CRA) | Dynamic UI, state management (Redux/Context API), routing |
| State Management | Redux Toolkit / Zustand | Global state for cart, auth, and UI |
| Styling | Tailwind CSS / Material-UI | Responsive, mobile-first design |
| Payment | Stripe / Razorpay | Secure payment processing |
| Image Storage | Cloudinary / AWS S3 | Product image uploads and CDN delivery |
| Deployment | Vercel (Frontend) + Render/Railway (Backend) | CI/CD pipeline |
Users
├── name, email, password (hashed), avatar, role
├── addresses: [{ street, city, state, zip, country, phone }]
└── wishlist: [productIds]
Products
├── name, description, price, comparePrice, images[]
├── category, subCategory, tags[]
├── stock, sku, weight, dimensions
├── ratings: { average, count }
├── reviews: [{ userId, rating, comment, images[], createdAt }]
└── isActive, createdAt, updatedAt
Orders
├── userId, orderItems: [{ productId, name, image, price, qty }]
├── shippingAddress, paymentMethod, paymentResult
├── itemsPrice, taxPrice, shippingPrice, totalPrice
├── status: pending/processing/shipped/delivered/cancelled
└── paidAt, deliveredAt, createdAt
Cart (optional collection or embedded)
├── userId, items: [{ productId, qty, price }]
└── updatedAt
| Endpoint | Method | Description |
|---|---|---|
/api/auth/register |
POST | Create new account |
/api/auth/login |
POST | Authenticate, return JWT |
/api/auth/me |
GET | Get current user profile |
/api/products |
GET/POST | List all / Create product |
/api/products/:id |
GET/PUT/DELETE | Single product operations |
/api/products/search |
GET | Full-text search |
/api/cart |
GET/POST/PUT/DELETE | Cart operations |
/api/orders |
POST/GET | Create order / List user orders |
/api/orders/:id |
GET | Order details |
/api/admin/... |
Various | Protected admin routes |
authSlice: user data, login statecartSlice: items, totals, loading statesproductSlice: listings, filters, single productorderSlice: checkout flow, order historyecommerce-mern/
├── backend/
│ ├── config/ # DB connection, env vars
│ ├── controllers/ # Route handlers
│ ├── models/ # Mongoose schemas
│ ├── routes/ # API route definitions
│ ├── middleware/ # Auth, error handling, upload
│ ├── utils/ # Helpers, email service
│ └── server.js # Entry point
├── frontend/
│ ├── src/
│ │ ├── components/ # Reusable UI (Navbar, ProductCard, Footer)
│ │ ├── pages/ # Route pages (Home, Product, Cart, Profile)
│ │ ├── redux/ # Store, slices, async thunks
│ │ ├── hooks/ # Custom hooks (useAuth, useCart)
│ │ └── utils/ # API client (Axios interceptors)
│ └── index.html
└── package.json
Reviews
There are no reviews yet.