Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sergiotavuencas/springboot-jpa

Projeto desenvolvido com o intuito de revisar Spring Boot
https://github.com/sergiotavuencas/springboot-jpa

java-21 jpa-hibernate lombok maven mysql postgresql spring-boot

Last synced: about 1 month ago
JSON representation

Projeto desenvolvido com o intuito de revisar Spring Boot

Awesome Lists containing this project

README

        

# Spring Boot JPA

## Overview

Project developed during the [Spring Boot & Spring Data JPA - Complete Course](https://www.youtube.com/watch?v=5rNk7m_zlAg) by freeCodeCamp and [Bouali Ali](https://www.youtube.com/@BoualiAli). The intention was to study Spring Data JPA, revisit old concepts, and learn new ones.

## Objective

Using the Spring Framework, relational database concepts, and object-oriented programming to create an application based on the diagram below, and then applying queries and specifications.

![Database Class Diagram - E-learning Platform](https://github.com/sergiotavuencas/springboot-jpa/blob/main/diagram/diagram.png)

## Result

The project successfully follows the proposed diagram structure, as shown in the relationship illustration generated by IntelliJ's Class Diagram Generator below:

![IntelliJ Generated Diagram](https://github.com/sergiotavuencas/springboot-jpa/blob/main/diagram/entities-relatioship.png)

## Installation

To run this project locally:

1. Clone the repository:
```sh
git clone https://github.com/sergiotavuencas/springboot-jpa.git
```
2. Navigate to the project directory:
```sh
cd springboot-jpa
```

3. Install dependencies and build the project:
```sh
./mvnw clean install
```

4. Run the application:
```sh
./mvnw spring-boot:run
```
## Usage

Once the application is running, you can access the API at http://localhost:8080. You can use tools like Postman or cURL to interact with the endpoints.

## Contributing

Contributions are welcome! If you have suggestions or find issues, please open an issue or submit a pull request.

## License

This project is licensed under the MIT License. See the [LICENSE](https://github.com/sergiotavuencas/springboot-jpa/blob/main/LICENSE.txt) file for more details.