Welcome to Cricket Weapon, a full-featured E-Commerce platform for cricket gear, built with the MERN stack (MongoDB, Express, React, Node.js). This project demonstrates a robust, scalable, and modern web application with real-world features for both users and admins.
- Frontend: React, Redux, Material-UI, Axios, Stripe, Swiper, Styled-Components
- Backend: Node.js, Express, MongoDB, Mongoose, Cloudinary, Stripe, JWT, Nodemailer
- Deployment: Vercel (Frontend), Render/Heroku (Backend), MongoDB Atlas
- User authentication (JWT, cookies)
- Admin dashboard (products, orders, users, reviews management)
- Product catalog with search, filter, and pagination
- Shopping cart & order management
- Secure payment integration (Stripe)
- Product reviews & ratings
- Profile management (avatar upload via Cloudinary)
- Email notifications (order, password reset)
- Responsive UI (Material-UI, custom CSS)
- Error handling & loading states
Cricket_Weapon/
├── backend/
│ ├── app.js
│ ├── server.js
│ ├── controller/
│ ├── db/
│ ├── middleWare/
│ ├── model/
│ ├── route/
│ └── utils/
├── frotend/
│ ├── src/
│ │ ├── actions/
│ │ ├── component/
│ │ ├── constants/
│ │ ├── reducers/
│ │ ├── routes/
│ │ └── ...
│ └── public/
├── LICENSE
├── package.json
├── README.md
└── vercel.json
- Clone the repo:
git clone https://github.com/yourusername/cricket-weapon.git cd Cricket_Weapon - Install dependencies:
npm install cd frotend && npm install cd ../backend && npm install
- Configure environment variables:
- Create
.envfiles inbackend/config/for MongoDB, JWT, Cloudinary, Stripe, etc.
- Create
- Run locally:
npm run dev
- Frontend: http://localhost:3000
- Backend: http://localhost:5000
/api/v1/products- Product listing, search, filter/api/v1/user- User registration, login, profile/api/v1/order- Order creation, history/api/v1/payment- Stripe payment integration
- User: Browse, add to cart, order, review, manage profile
- Admin: Manage products, orders, users, reviews, dashboard analytics
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
- Email: parasgoyal180803@gmail.com
- GitHub: GoyalParas
Made with ❤️ for Cricket Lovers by Paras Goyal!