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.
1ļøā£ Clone the repository:
git clone https://github.com/yourusername/mern-ecommerce.git
cd mern-ecommerce
2ļøā£ Install dependencies:
# Install frontend dependencies
cd client
npm install
# Install backend dependencies
cd ../server
npm install
3ļøā£ Setup environment variables:
.env
file in the server
folder 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 dev
Pull 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.
š Happy Coding & Shopping! š