ShopWebsite Built On Node JS
A Simple shopping website in NodeJS.
PreRequisites
- Node
- MongoDB
Usage
npm installnpm startsetup mongodb- Create db
shopDB - Add three collection
Users,Products,Orders
Server Will Start On localhost:3000 and MongoDB should run AT mongodb://localhost:27017 ( Change Connection URL In DBHandler/DBHandler.js)
Roles
- Go to
/user/registerand Register for Any Role
Buyer
- Can Place Order
- View His Own Placed Orders
- dummy account
buyerrand123456789
Seller Can Add Products
- Can Add Products
- Can See His Own Products
- dummy account
sellerand123456789
Courier
- Can View All Order
- Can Mark Undelivered Orders as Delivered
- dummy account
courierand123456789