The concept is an Online Computer Store where there are 2 users who can access the website, namely the buyers and the seller. There is only 1 seller but for the convenience of the seller, a dashboard was made for the seller to add products, restock products, and many more. Buyers can buy products by adding these products to their cart and checking it out. We focused on the category of Computer, with subcategories of Laptops, Monitors, Data Storage, Peripherals, Networking, Printer and Scanner.
Assuming the you have already cloned the repository, do the following:
- Enter the command
cd server
. - Enter the command
npm i
. - To insert the default data, enter the command
npm run insert_data
. - Press CTRL + C to stop the command since it doesn't automatically end.
- Enter the command
npm run start
- On your preferred browser, input
http://localhost:3000/
as the url and you should see the website
username | password |
---|---|
buyer | buyerpass |
seller | sellerpass |
sweetgirl123 | lksad |
xXbatmanXx143 | qweqasd |
coolkidXD | axzcas |
- Has Buyer and Seller Roles
- Buyer can:
- view products which they can buy
- searchable by name
- sortable by popularity and price
- filterable by category
- add those products to their cart
- checkout
- view product rating
- view order history
- view products which they can buy
- Seller can:
- add products to be sold
- view item stock
- view order list
- Buyer can:
- Landing Page
- Login and Logout
- View, Edit and Delete Profile