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