Skip to content

Latest commit

 

History

History
131 lines (89 loc) · 4.33 KB

README.md

File metadata and controls

131 lines (89 loc) · 4.33 KB

Flipkart Clone

This is complete MERN Stack project, which is a clone of Flipkart, an e-commerce platform. For the front-end, I utilized React JS and Material UI to design an attractive and user-friendly interface. I also employed Redux for front-end state management to ensure a smooth user experience.

In the backend, I utilized Node.js and Express.js to handle all backend operations and create APIs for front-end requests. To store the data, I used MongoDB and the Mongoose library. For user authentication and authorization, I implemented JSON Web Tokens (JWT) and secured user passwords using Bcryptjs.

Overall, this project allowed me to showcase my proficiency in various technologies and tools, including React, Material UI, Redux, Node.js, Express.js, MongoDB, Mongoose, JWT, and Bcryptjs.


🎯 Using Languages & Tools 🧰


css3 javascript nodejs expressjs mongodb npm postman reactjs chakra-ui redux


🎯## Project is live at 🔗 FlipKart

🎯 Features

  • Responsive Laniding Page.
  • Login/Signup page.
  • Landing page which displays all the products.
  • Product Details page.
  • Add Product to cart.
  • Cart items quantity increment and decrement.
  • Checkout page and payment page.
  • Slider for bannner in landing page
  • Products Search Functionlity
  • Created the Api for product , Authentication, and cart
  • Dependencies:

Front-end

1) react
2) react-dom
3) react-scripts
4) styled-components
5) react-router-dom
6) react-icons
7) material-UI
8) react-multi-carousel
9) react-countdown
10) axios
11) redux, redux thunk, react-redux

Backend

1) express
2) cors
3) dotenv
4) mongoose
5) nodemon

Landing Page

Landing Page

Product Page

product Page

Cart Page

checkout Page

login Page

login Page

Setting Up Project in local

Frontend

1) Setting up node environment

1) navigate to Frontend directory
2) use node version 16 or 18.12.1 is recommended
3) run command npm install or npm i --legacy-peer-deps it will install all the required Dependencies with no errors.

2) Starting frontend on localhost

(make sure you are confirming url of server)

npm start /*or*/ npm run start

3) Making Production ready folder

npm run build

Server

1) Setting up node environment

1) navigate to Backend directory
2) use node version 16 or 18.12.1 is recommended
3) run command npm install or npm i --legacy-peer-deps

1) Starting Server in deployment

npm start

1) Starting Server with nodemon on locahost

npm run server

Database: MongoDB

1) Atlas

in .env file provide MONGODB_URL with proper credentials

2) Local database

if MONGODB_URL not declared in .env, by default it will connect to local data base

in case not working try changing MONGODB_URL by creating your own in MongoDB Atlas server