- Web Programing II Lecture Homework - NetPizza24 -
"NetPizza24" is an online pizzeria management system built with Laravel as part of the Web Programming II coursework.
The project demonstrates the use of authentication, CRUD operations, ORM, seeding, Chart.js visualizations, contact forms, and admin features within a responsive website.
-
π Authentication System
- User registration, login, logout
- Roles: visitor, registered user, admin
-
π Database Display
- Lists pizzas, their categories, and prices dynamically using Eloquent ORM.
-
π§Ύ CRUD Operations
- Admin can create, edit, and delete pizza records.
-
π¬ Contact Form
- Validated contact form that stores messages in the database.
- Registered users can view messages.
-
π Graph Page (Chart.js)
- Displays a chart of pizza orders per type or category.
-
π§ Admin Menu
- Admin-only section with quick statistics and management tools.
-
π Responsive Design
- Free responsive theme integrated from HTML5 UP or ThemeWagon.
| Table | Description |
| categories | Contains pizza categories and base prices. |
| pizzas | Stores pizza data including name, category, and vegetarian flag. |
| orders | Contains order records with quantity and timestamps. |
| users | Standard Laravel users table (extended with role). |
| messages | Stores contact form submissions. |
- A category has many pizzas
- A pizza has many orders
- A user has many messages