A modern, full-stack ecommerce platform for buying computers and accessories, developed using the MERN stack (MongoDB, Express.js, React.js, Node.js).
This application provides secure user authentication, seamless order processing, service management, promotional campaigns, and staff coordination for efficient store operations.
- Add items to cart and proceed to checkout with Cash on Delivery or Card Payments.
- Admin dashboard for:
- Approving or rejecting orders
- Updating order status (e.g., Shipped, Delivered)
- Viewing full order history
- Real-time inventory sync to prevent overselling.
- Automated customer notifications and PDF sales reports (daily, weekly, monthly).
- Central dashboard for managing suppliers (company info, contract terms, and performance).
- Create and track promotions with:
- Custom coupon codes
- Validity durations
- Eligibility rules
- Automatically pause promotions if related items go out of stock.
- Visual analytics to measure campaign performance.
- Full product catalog management:
- Add, edit, delete, and search products
- Support for pagination
- Export product lists as PDF reports.
- Users can report issues with purchased products.
- Admins can:
- Track and manage service requests
- Export service records as PDFs for documentation
- Add and update staff profiles and role assignments.
- Handle salary tracking and manage monthly payroll.
- Integrated internal live chat system for real-time communication among staff.
| Layer | Technologies Used |
|---|---|
| Frontend | React.js, Tailwind CSS, Redux |
| Backend | Node.js, Express.js |
| Database | MongoDB, Mongoose |
| Auth & Security | JWT, Bcrypt |
| Payments | Stripe (or compatible integration) |
| Utilities | Axios, PDF libraries (pdfmake, etc.) |
cd backend
npm install
# Create a `.env` file with the following:
# - MONGODB_URI
# - JWT_SECRET
# - STRIPE_SECRET (if applicable)
npm startcd frontend
npm install
npm run dev/backend
├── Config # DB & environment configs
├── Controllers # Business logic
├── Middleware # Authentication & validation
├── Models # MongoDB schemas
├── Routes # REST API endpoints
├── db # DB connection files
└── server.js # Application entry point
/frontend
├── public # Static files (images, icons, etc.)
├── src
│ ├── components # React components
│ ├── utils # Utility functions
│ └── App.js # Main app component
├── tailwind.config.js
└── package.json
| Contributors | Responsibility |
|---|---|
| Buwaneka99 | Supply & Promotion Management |
| DilmiJ | Inventory Management, Service Requests |
| KalpaVidusha | Sales & Order Management |
| SanilkaSrimal | Staff Management, Live Chat |