FoodFrenzy is a comprehensive system designed for managing customers, inventory, and orders. It offers secure authentication, role-based access control, and database integration using MySQL. Built with Spring Boot and Thymeleaf, the application provides a seamless experience for admin and staff members.
- Customer Management: Easily add, update, and delete customer information.
- Inventory Management: Keep track of your inventory items, including stock levels and pricing.
- Order Management: Manage customer orders, including order creation, updates, and status tracking.
- User Authentication: Secure login and authentication for admin and staff members.
- Role-Based Access Control: Define roles and permissions for different user types.
- Thymeleaf Templates: Utilizes Thymeleaf for dynamic HTML templates.
- Database Integration: Integrated with MySQL for data storage and retrieval.
- Backend: Spring Boot, Java 8, Spring MVC, Spring Data JPA (Hibernate)
- Frontend: Thymeleaf, HTML, CSS, JavaScript
- Database: MySQL
- IDE: Eclipse, Spring Tool Suite (STS)
Before running this project, ensure you have the following installed:
- Java 8
- MySQL
- Maven
- Eclipse or Spring Tool Suite (STS)
-
Clone the repository:
git clone https://github.com/your-repository-url/FoodFrenzy.git
-
Navigate to the project directory:
cd FoodFrenzy
-
Configure MySQL Database:
- Create a new MySQL database.
- Update
application.properties
with your MySQL credentials:spring.datasource.url=jdbc:mysql://localhost:3306/foodfrenzy spring.datasource.username=root spring.datasource.password=root spring.jpa.hibernate.ddl-auto=update
-
Run the project:
mvn spring-boot:run
-
Access the application:
- Navigate to
http://localhost:8080
in your browser.
- Navigate to
Here is a preview of the FoodFrenzy interface:
src/
├── main/
│ ├── java/
│ │ └── com.example.foodfrenzy/
│ │ ├── controller/ # Contains all controllers
│ │ ├── model/ # Contains entity classes
│ │ ├── repository/ # Repository interfaces for database interaction
│ │ └── service/ # Service layer with business logic
│ ├── resources/
│ │ ├── templates/ # Thymeleaf templates for views
│ │ ├── static/ # Static assets (CSS, JavaScript)
│ │ └── application.properties # Project configuration
│ └── webapp/
│ └── WEB-INF/
│ └── views/ # Additional view files
└── test/ # Test cases for unit testing