Skip to content

omarashzeinhom/ebay_clone_mern_stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ebay clone in MERN Stack

The eBay clone in MERN Stack is a web application that replicates the core functionalities of the eBay platform using the MERN (MongoDB, Express.js, React, Node.js) technology stack. This clone allows users to buy and sell products in an online marketplace environment. It incorporates features such as user authentication, product listings, bidding or purchasing capabilities, and seller profiles. Utilizing the power of MERN, the application provides a responsive and dynamic user interface, real-time updates, and seamless interactions for a user-friendly online shopping experience reminiscent of eBay.

TODOS

  1. ADD DIFFERENT AUCTION SYSTEM[]
  2. ADD STRIPE TO BACKEND INSTEAD OF FRONTEND
  3. OPTIMIZE IMAGES FROM UNSPLASH AS WEBP
  4. Optimize App By Using useContext in global States Only
  • Auth
  • Translation
  • Theme Dark/Light Mode
  1. Remove Products & Categories from Global State

Built With

Start By

  • Frontend yarn start

  • Backend node index.js

  • Make sure to change the username and password for your MongoDB ATLAS_URI

ATLAS_URI=mongodb+srv://<username>:<password>@cluster0.vr0db7g.mongodb.net/?retryWrites=true&w=majority
  • Add jwt secret using crypto
JWT_SECRET=

Deploy

  1. Front End
yarn build
  • Then Deploy Static File to netlify

Replace links

// Production
// https://ebayclonemern.netlify.app/
- const productLink = `https://ebayclonemern.netlify.app/item/${product?._id}`;
- const productLink = `https://ebayclonemern.netlify.app/item/${product?._id}`;
- "http://localhost:3000/" // For Development
// Backend API
- "https://server-ebay-clone.onrender.com/" // For Development
  1. Back End

Deploy to render

References