Skip to content

Ahmed1GR/spring-boot-3-spring-6-hibernate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot 3 + Spring 6 + Hibernate Beginner Project

Java Spring Boot Hibernate MySQL

My Certificate

Certificate

Description

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.

Features

  • Simple CRUD APIs for managing entities
  • Hibernate ORM integration
  • MySQL database connection
  • Basic error handling
  • Modular and clean code structure

Technologies Used

  • Java 17
  • Spring Boot 3
  • Spring Framework 6
  • Hibernate ORM
  • MySQL
  • Maven

Getting Started

Prerequisites

  • Java 17 or higher installed
  • MySQL server installed and running
  • Maven installed (if not using Maven Wrapper)

Installation and Running

  1. Clone the repository
    git clone https://github.com/Ahmed1GR/spring-boot-3-spring-6-hibernate.git
    

Configure the database settings in src/main/resources/application.properties:

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