A shopping cart with buyer and seller handles, created using NodeJS, ExpressJS and MongoDB.
- Login and Register: Users should be able to register and create accounts. For registration they must provide details like name, email address, password and choose their role (seller or buyer) etc. Users should be able to login using their registered email id and password.
- Username and Password Validation: Provide basic validations for password like fixing a minimum length for the password etc. Make sure the email address is unique for each user.
- Authentication: The user must be able to access the dashboard only if he/she is logged in.
- Dashboard: On logging in, the user must be directed to their respective dashboards based on whether their role is seller or buyer.
- Dashboard: The dashboard must display the recent purchases made by the customer as well as products sorted in any manner you feel necessary.
- Adding Items to Cart: Customers should be able to select and add items to their shopping cart. The items in the cart must remain even if the customer has logged out.
- Dashboard: The seller’s dashboard must display the list of items added by him/her.
- Handle Storage: The seller must be able to add new items and update quantity, price, picture, item name, item description etc.
- The quantity of items must be updated automatically as and when a customer makes a purchase.
- The seller must be able to view the list of items purchased by various customers with details like customer name, email id etc. The history of items sold by the seller must be maintained and displayed appropriately.
- Search Bar: Customers should be able to search for items available based on item name.
- Purchase History: Maintain the history of purchases made by the customer.
- Statistics: Display the statistics of recent purchases made in a graph.