Skip to content

Latest commit

 

History

History
65 lines (49 loc) · 2.17 KB

README.md

File metadata and controls

65 lines (49 loc) · 2.17 KB

Grocery Shop (MERN) Ecommerce

A MERN app that allows multiple sellers to register and list their products for customers to purchase.

Features

  • Seller registration and product listing
  • Customer payments using Razorpay online payment
  • Map view of seller locations
  • Email notifications using SMTP protocol
  • Product reviews by customers

Technical stack

  • MongoDB for data storage
  • Express for server-side routing
  • React for client-side rendering
  • Node.js for server-side logic

How to run

  1. Clone the repository using git clone https://github.com/dhirajmokal13/Grocery-Shop if git installed otherwise download the code.
  2. Run npm install in / and /Client Both Directories to install the required dependencies.
  3. Create .env File and add Following data.
DATABASE_URL_ONLINE = ""
DATABASE_URL_OFFLINE = 'mongodb://localhost:27017'

CLIENT_URLS = ["http://127.0.0.1:3000", "http://localhost:3000"]
ALLOWED_METHODS = ["POST", "PUT", "GET", "PATCH", "DELETE"]

JWTKEY = 'authentication-key-example'
smtp_user = ''
smtp_pass = ''

razorpay_key_id = ''
razorpay_key_secret = ''
PORT = "8080"
  1. Run npm run dev in / and npm start in /Client to start the development server

Preview

  1. Home Home

  2. Signup Signup

  3. Search Search

  4. Sellers Location Sellers Location

  5. Order Page Order Page

  6. Payment Payment

  7. Customer Orders Customer Orders

  8. Manage Orders (Seller) Manage Orders

  9. Location Update (Seller) Location Update