CRUD Project with spring Reactor to managing reactive flows. Database was created using H2. The connection with database was made using R2DBC, special library to manage reactive connection. In that sense the reactive flow is complete point to point.
Extra: Using Exception Handler using @ControllerAdvice and @ExceptionHandler
- Language: Java 17
- Framework: SpringBoot 3
- Dependency management: Maven 3.6.3
Click the link below to download the Postman collection:
- Download the file from the link above.
- Open Postman.
- Click "Import" in the top left corner.
- Select the downloaded
crud-service-reactor-h2.postman_collection.json
file. - You can now test the API endpoints using the provided examples.
-
spring-boot-starter-web
-
lombok
-
h2
- controllers: Used to define endpoints.
- service: Used to process logic bussines.
- repository: Used to connect with relational databases .
- proxy.client: Implements Classes to connect with other REST Services.
- config: Used to configure the project behaviour.
- model: Used to create simples object like POJOs, DTOs.