Toggle Menu

Create a Reactive App Controller with a Single Entity

Understand the front-end of serving a single Pet Clinic Entity

CONTRIBUTORS

Do you want to create a reactive Spring controller? Then, you're at the right place!

In this scenario, we'll learn how to:

  • Create a Spring project with Spring Initializr
  • Create the Owner entity from the Spring Pet Clinic example
  • Create an API endpoint
  • Create a reactive service
  • Use Swagger UI to access the API

This scenario is a subset of the full Reactive Spring Pet Clinic project that focuses on the controller for a single entity. Note that Reactive programming is a bit more advanced, so it may be helpful to review the basic Spring Pet Clinic example in preparation for this scenario. Here's an architectural diagram of what we will build.

Controller

ver 0.001

Time to Complete

15 minutes

Difficulty

Beginner

Share