Byte Cart is a full-featured e-commerce platform built using the MERN stack.
-
Frontend:
- Responsive and clean UI for browsing products.
- User authentication (Login, Register).
- Product search, filter, and sorting options.
- Shopping cart functionality.
- Checkout process with order summary and payment integration.
-
Admin Panel:
- Dashboard for managing products, orders, and users.
- Add, edit, and delete products.
- View customer orders and manage order status.
-
Backend:
- RESTful API for data management (products, users, orders).
- Secure authentication using JWT.
- Integration with MongoDB for database storage.
- Frontend: React, Tailwind CSS
- Backend: Node.js, Express.js
- Database: MongoDB
- Authentication: JWT
- Deployment: Vercel
-
Clone the repository:
-
Install dependencies for the frontend:
cd frontend npm install -
Install dependencies for the backend:
cd backend npm install -
Add a
.envfile for environment variables in the frontend, admin and backend directory, including the following:VITE_BACKEND_URL =<Your Backend URL>MONGODB_URI=<Your MongoDB URI> JWT_SECRET=<Your JWT Secret> CLOUDINARY_API_KEY = <Your Cloudinary API Key> CLOUDINARY_SECRET_KEY = <Your Cloudinary Secret key> CLOUDINARY_NAME = <Your Cloudinary Name> ADMIN_EMAIL = <Your MongoDB URI> ADMIN_PASSWORD = <Your Admin password> STRIPE_SECRET_KEY = <Your Stripe Secret>
5. Run both frontend and backend:
```bash
npm run dev
Feel free to open issues or submit pull requests to contribute to this project!











