This is a demo project for Spring Boot, developed in Java and built with Maven.
This project is a simple Spring Boot application that provides a RESTful API for managing users and orders. It includes features such as creating, retrieving, updating, and deleting users, products, categories and orders.
- Java 21
- Spring Boot 3.3.0-SNAPSHOT
- Maven
- PostgreSQL 42.7.3
- H2 Database
- JaCoCo 0.8.12 for code coverage
- Docker
- Render (Deployment)
To run this project, you need to have Java and Maven installed on your machine.
- Clone the repository:
git clone https://github.com/wesley-prado/workshop-springboot3-jpa.git
- Navigate to the project directory:
cd course
- Build the project:
mvn clean install
- Run the project:
mvn spring-boot:run
This project uses JUnit and Mockito for unit testing. To run the tests, use the following command:
mvn test
To generate a JaCoCo coverage report, use the following command:
mvn jacoco:report
The report will be generated in the target/site/jacoco directory.
The source code for the site is licensed under the MIT license, which you can find in the MIT-LICENSE.txt file.