This project is designed for beginners to learn the integration of Spring Boot 3, Spring Framework 6, and Hibernate ORM with MySQL database.
It covers building RESTful APIs with CRUD operations and connecting to a MySQL database using Hibernate.
- Simple CRUD APIs for managing entities
- Hibernate ORM integration
- MySQL database connection
- Basic error handling
- Modular and clean code structure
- Java 17
- Spring Boot 3
- Spring Framework 6
- Hibernate ORM
- MySQL
- Maven
- Java 17 or higher installed
- MySQL server installed and running
- Maven installed (if not using Maven Wrapper)
- Clone the repository
git clone https://github.com/Ahmed1GR/spring-boot-3-spring-6-hibernate.git
properties spring.datasource.url=jdbc:mysql://localhost:3306/your_database_name
spring.datasource.username=your_username
spring.datasource.password=your_password
Build and run the project: bash ./mvnw spring-boot:run Use Postman or any API client to test the endpoints. Contribution Feel free to fork and submit pull requests.
License MIT License
Developed by Ahmed Hamdi