Welcome to the MERN E-Commerce project! This is a modern, high-performance e-commerce platform built with the MERN (MongoDB, Express.js, React, Node.js) stack. It features a beautiful UI using Tailwind CSS & ShadCN UI and optimized backend performance with Redis caching.
- User Authentication (JWT / Clerk)
- Product Management (Add, edit, delete products)
- Shopping Cart (Seamless cart experience)
- Order Management (Checkout, track orders)
- Payment Integration (Stripe / PayPal)
- Admin Dashboard (Manage users, products, orders)
- Fast Performance (Redis caching for speed)
- Responsive & Modern UI (Tailwind & ShadCN UI)
- React (Vite) β Fast and efficient development
- Tailwind CSS β Modern utility-first styling
- ShadCN UI β Beautiful prebuilt components
- Node.js & Express.js β RESTful API
- MongoDB & Mongoose β NoSQL database
- Redis β Caching and session management
- JWT / Clerk β Secure authentication
- Frontend: Vercel / Netlify
- Backend: Render / DigitalOcean
- Database: MongoDB Atlas
1οΈβ£ Clone the repository:
git clone https://github.com/yourusername/mern-ecommerce.git
cd mern-ecommerce2οΈβ£ Install dependencies:
# Install frontend dependencies
cd client
npm install
# Install backend dependencies
cd ../server
npm install3οΈβ£ Setup environment variables:
- Create a
.envfile in theserverfolder with:MONGO_URI=your_mongodb_connection_string REDIS_URL=your_redis_url JWT_SECRET=your_jwt_secret STRIPE_SECRET_KEY=your_stripe_key
4οΈβ£ Start the development servers:
# Start backend
cd server
npm run dev
# Start frontend
cd ../client
npm run devPull requests are welcome! π If you'd like to improve the project, open an issue to discuss your ideas.
This project is licensed under the MIT License.
- Wishlist Feature
- Product Reviews & Ratings
- Multi-language Support
- GraphQL API Support
π Happy Coding & Shopping! π