Welcome to the Akatsuki Pizza Management System! This project helps pizza store owners and chefs efficiently manage toppings and pizzas. Built with a modern Java Spring Boot backend and a HTML, CSS, JavaScript frontend, it provides an intuitive interface for handling pizza creations.
🌍 Website: akatsukipizza.com
- 🎨 HTML, CSS, JavaScript - For building the user interface
- 🖼 Bootstrap - For a responsive and beautiful UI
- ☕ Java Spring Boot - RESTful API development
- 🐘 MySQL - Relational database for storing pizzas and toppings
- 🐳 Docker - Containerized database setup
- 🛠 Spring Data JPA - For easy database interactions
- 🏗 Maven - Dependency management
- 🔗 Git - Version control
✅ View a list of available toppings
✅ Add new toppings
✅ Delete existing toppings
✅ Update existing toppings
❌ Prevent duplicate toppings
✅ View existing pizzas and their toppings
✅ Create new pizzas and assign toppings
✅ Delete pizzas
✅ Update pizza toppings
✅ Modify toppings on an existing pizza
❌ Prevent duplicate pizza names
git clone https://github.com/MinhNguyenCS/PizzaManagement.git
cd PizzaManagementEnsure you have Java 17 and Maven installed. Check your Java and Maven version:
java -version
mvn -version
If you prefer setting up the database manually, use the provided SQL script above. Ensure Docker is running for MySQL.
docker run --name pizza-db -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=root -p 3306:3306 -d mysql:latestcd backend
mvn clean install
mvn spring-boot:runUpdate the api calls in js files to https://localhost:9111/pizza/api/
cd frontend
open login.htmlcd backend
mvn test| Method | Endpoint | Description |
|---|---|---|
| GET | /topping |
Get all toppings |
| POST | /topping/adding |
Add a new topping |
| POST | /topping/update |
Update a topping |
| POST | /topping/delete/{id} |
Delete a topping |
| Method | Endpoint | Description |
|---|---|---|
| GET | /chef |
Get all pizzas |
| POST | /chef/adding |
Add a new pizza |
| POST | /chef/update |
Update a pizza |
| POST | /chef/delete/{id} |
Delete a pizza |
Pull requests are welcome! For major changes, please open an issue first to discuss what you’d like to change.
MIT License. See LICENSE file for details.
📧 Email: mknguyen.dev@gmail.com
🐙 GitHub: MinhNguyenCS
🌍 Website: pizzamanagement.com