Toggle Menu

Create a Reactive Spring Single Entity App

Understand the backend of serving a single Pet Clinic Entity


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

This scenario builds on a previous scenario that sets up the front end API controller. If you haven't already done so, you may want to check it out.

In this scenario, we'll learn how to:

  • Set up an Astra (Cassandra as a Service) database
  • Create the reactive code to access the database
  • Connect the database access code to the API controller
  • Use Swagger UI to access the API

This scenario is a subset of the full Spring Pet Clinic Reactive project that focuses on 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.


ver 0.003

Time to Complete

20 minutes