This project is a clone of Flipkart built using the MERN stack (MongoDB, Express.js, React, Node.js). It mimics the core functionality and design of the Flipkart website.
- User authentication and authorization
- Product browsing and search functionality
- Cart management
- Order placement and history
- Admin dashboard for product and user management
- MongoDB: Database
- Express.js: Server framework
- React: Frontend framework
- Node.js: Backend framework
- Redux: State management
- Bootstrap: Frontend styling
- JWT: Authentication
- Axios: HTTP requests
- Clone the repository:
git clone https://github.com/PavanaSakethaRam/Flipkart-Clone/
- Navigate to the server directory:
cd server
- Install dependencies:
npm install
- Set up environment variables:
Create a .env file in the server directory and define the following variables:
DB_USERNAME=<mongo_db_username> DB_PASSWORD=<mongo_db_password>
- Run the server
npm start
The server will start at the port 8000.
- Navigate to the client directory:
cd client
- Install dependencies:
npm install
- Run the app
npm start
The client application will start and can be accessed in the browser at http://localhost:3000.
- Access the client application through a web browser.
- Create an account or login to access the features of the Flipkart clone.
- Browse products, add items to the cart, and proceed to checkout.
- View your order history and manage your account details.