Assignment 2
Assignment 2
Problem Statement:
Princy is a young girl with the passion to open her own department store. She has bought all the
products required to the store. She has to go digital and store all her products in her website.
Categorizing the product are done. Now help her go ahead for the next step, by creating the user
accessing her products.
#Check List:
As an store owner, Princy needs to login in her website using username and password
Validate the credentials and allow to access the options.
Every item is a product. Use ((buyingprice*0.5)+buyingprice)to calculate the sellingPrice.
Options are (for admin)
1. List the products in the store (productid, product Name, category, Quantity,
price )
2. Search the product by using productid
3. List the products by category (Grocery, Stationary, Toiletry, Vegetables)
4. Search the product by using the name and view the details of the product.
5. To check the total amount, spend on her products.
6. Display the Profit amount that she gets on category wise.
Options for Customer
1. Existing customer can login and view the products from the store.
2. Allow new customer to register and login to view the products
3. Provide 100 super coins for the new user as a welcome bonus.
4. Provide filter options based on category and price for the customer
If customer use filter for price, display products with price low to high
If customer use filter for category, allow user to select the category and
display the product from the specific category.
#Instructions:
Note: Registration should be allowed for customers only, admin registration should be restricted.