This project is an example of a REST API application that implements CRUD (Create, Read, Update, Delete) operations for the Cat
entity.
- Spring Framework: Used for managing application components, dependency injection, and organizing the MVC architecture.
- Spring Boot: Provides a quick and easy way to set up Spring applications.
- Spring Web: Enables building web applications based on Spring.
- Spring Data JPA: Simplifies the implementation of data access layers by automatically generating repository implementations.
- Lombok: Simplifies Java code writing by automatically generating methods, constructors, and other elements.
- PostgreSQL: A relational database used for storing
Cat
entity data. - Hibernate Validator: Used for data validation in the application.
- Springdoc OpenAPI Starter: Automatically generates OpenAPI documentation for your API endpoints.
- JUnit: Framework for writing unit tests.
- Mockito: Java mocking framework for unit tests.
The Cat
entity has the following fields:
id
: Identifier for the cat.name
: Name of the cat.age
: Age of the cat.weight
: Weight of the cat.