What you build
An online store for a small business: customers browse products, add them to a cart and place orders; the owner manages products, stock and orders from an admin dashboard.
Modules
- Product catalogue with categories and search
- Cart and checkout (cash on delivery or a payment gateway test mode)
- Order tracking for customers
- Admin: products, stock, orders and a sales summary
What you will understand
- Designing product, cart and order tables
- Why prices are calculated on the server, never trusted from the browser
- Admin access control
How it is tested
- Test cases for out-of-stock items, quantity changes and tampered prices
- Checking order totals and stock after each order
What goes in the report
- Requirements and use cases
- ER diagram and DFDs
- Test cases and screenshots
Viva questions to prepare
- Why must the total be calculated on the server?
- How is stock reduced when an order is placed?
- How does the admin login stay secure?