Skip to content

SisouDev/Spring-WebServices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Web Services with Hibernate and JPA

Spring Boot Web Services with Hibernate and JPA

Objectives

This project aims to:

  • Create a Java Spring Boot project
  • Implement a domain model
  • Structure logical layers: resource, service, repository
  • Configure a test database (H2)
  • Populate the database
  • Implement CRUD operations (Create, Retrieve, Update, Delete)
  • Handle exceptions

Getting Started

Prerequisites

Before you start, make sure you have the following installed:

  • Java Development Kit (JDK)
  • Integrated Development Environment (IDE) such as IntelliJ IDEA or Eclipse
  • Apache Maven for managing project dependencies

Running the Application

  1. Clone this repository to your local machine.
  2.             git clone https://github.com/yourusername/your-project.git
            
  3. Open the project in your IDE.
  4. Run the project as a Spring Boot application.
  5. The application will start, and you can access the Web Services endpoints.

CRUD Operations

The application provides endpoints for Create, Retrieve, Update, and Delete operations. You can access these endpoints through HTTP requests.

Exception Handling

Exception handling is implemented to provide meaningful error responses in case of issues during API requests.

Contributing

Feel free to contribute to this project by opening issues or submitting pull requests.

License

Unlicensed, free to use, contact me.

Releases

No releases published

Packages

No packages published

Languages