Restorante is a full-stack restaurant management application built with Spring Boot 4, providing a CORS-enabled REST API backed by MySQL and a Thymeleaf web interface. It handles the core operational needs of a restaurant: building menus from typed food items, tracking pantry stock levels, linking recipes to chef staff, and monitoring inventory health with low-stock alerts.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/NicolasMPP/restorante-springboot/llms.txt
Use this file to discover all available pages before exploring further.
Quickstart
Run the application locally and make your first API call in minutes.
Configuration
Set up your MySQL database and Spring Boot environment variables.
Data Model
Understand the entity hierarchy — menus, foods, recipes, ingredients, and staff.
API Reference
Explore every REST endpoint for menus, pantry, recipes, ingredients, and chefs.
What Restorante manages
Menu Management
Create and update menus with typed food items — main courses, desserts, drinks, and extras.
Pantry & Inventory
Track ingredient stock levels, receive low-stock alerts, and view pantry statistics.
Recipes
Link recipes to chefs and ingredients. Browse by complexity or chef assignment.
Staff Roles
Manage the staff hierarchy: Gerente, Chef, Mesero, and Cliente entities.
How it works
Configure your database
Point
application.properties at your MySQL instance and set credentials. The application automatically creates tables via Hibernate DDL.Start the application
Run
./gradlew bootRun. On first launch, the database initializer seeds sample chefs, recipes, ingredients, foods, a menu, and a pantry automatically.Use the web UI
Open
http://localhost:8080/menu to manage the menu visually, or http://localhost:8080/despensa for pantry management — both powered by the same REST API.Restorante uses Spring Boot 4 with Java 21 and Gradle. A running MySQL 8+ instance is required before starting the application.