Skip to content

Latest commit

 

History

History
104 lines (74 loc) · 2.52 KB

README.md

File metadata and controls

104 lines (74 loc) · 2.52 KB

MERN eCommerce

eCommerce

npm npm npm npm npm

🎯 eCommerce Site is a web application build with MERN stack and redux
Hers is the demo of eCommerce Site.

💮 Features of eCommerce Site

  • Full featured shopping cart
  • Product reviews and ratings
  • Top products carousel
  • Product pagination
  • Product search feature
  • User profile with orders
  • Admin product management
  • Admin user management
  • Admin Order details page
  • Mark orders as delivered option
  • Checkout process (shipping, payment method, etc)
  • PayPal / credit card integration
  • Database seeder (products & users)

Tech stack used

  • MongoDB
  • Express.js
  • Reactjs
  • Node.js
  • React Bootstrap v4
  • Redux

🔥 Getting Started?

Env Variables

Create a .env file in then root and add the following

NODE_ENV = development
PORT = 5000
MONGO_URI = your mongodb uri
JWT_SECRET = 'abc123'
PAYPAL_CLIENT_ID = your paypal client id

Install dependencies for frontend and backend

npm install
cd client
npm install

Setup on local machine

  • Download or clone the project
  • open your terminal
  • In the root folder run npm run dev to run the project

Instructions for user

  • On the main page click on the Register or Login button to register or login
  • You can see all the products listed
  • Click on product to view and byt the product
  • Click on the cart button to view your products that you have been added
  • Add address and pay using PayPal

Instructions for Admin

  • On the main page click on the Register or Login button to register or login

  • On the login page, enter the following credentials

  • After you logged in you will see list of products, now you can edit and delete them

  • You can create product by clicking "Admin" button on navbar and products

  • You can view, edit, delete users

  • You can Mark as delievered orders