A MERN app that allows multiple sellers to register and list their products for customers to purchase.
- 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
- MongoDB for data storage
- Express for server-side routing
- React for client-side rendering
- Node.js for server-side logic
- Clone the repository using
git clone https://github.com/dhirajmokal13/Grocery-Shop
if git installed otherwise download the code. - Run
npm install
in/
and/Client
Both Directories to install the required dependencies. - 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"
- Run
npm run dev
in/
andnpm start
in/Client
to start the development server