OnlinePizzaHackathon1
OnlinePizzaHackathon1
Technologies to use
Core Java
JDBC
Database:
MySQL
Requirements
This console application comprises two modules i.e. customer module and admin module.
Customers Module
Note that purchase facility is not to be implemented (just to be emulated) i.e. customer order will be added into database, so that it can be viewed by the
restaurant manager. Scope of this application does not include accounting or business analysis of the restaurant.
Admin Module
Design
Database design
DAO design
UI design
Top Level menus
1. Sign In
2. Sign Up
3. Exit
Customer menu
1. Show Veg Items
2. Show Non-Veg Items
3. Show available sizes (for given Item id)
4. Add to cart (for given price id)
5. Show Cart (Pizzas with Size & Price Details)
6. Place Order (Save Order in Database for current customer)
7. Sign Out
Admin menu
1. Show all orders
2. Show order details (for given order id show Pizza & Customer details)
3. Sign Out
Implementation Plan/Steps
1. Database: execute given .sql files (on appropriate database).
2. Console App: Implement nested menus for application.
3. Console App: Implement all POJOs/Entities and Daos.
4. Console App: Sign In & Sign Out, Display Hello message for authenticated user and store its reference (in some static field).
5. Console App: Registration
6. Console App: Pizza Menu Display (Veg/Non-Veg Items)
7. Console App: Pizza Item Details (Size selection) & add to customer cart. Cart may be implemented as List<ItemPrice>.
8. Console App: Show cart contents with total bill.
9. Console App: Purchase i.e. add order along with its details into database.
10. Console App: Display all orders list for admin login.
11. Console App: Display Order details for given order id.