Do you want to see a reactive version of the Spring Pet Clinic project? Then, you're at the right place!
This scenario focuses on what the final Reactive Spring Pet Clinic app looks like so you can see where we are going.
What is Reactive Programming?
Reactive Programming is a declarative programming paradigm. It uses non-blocking data streams that propagate changes. You can read more about how the DataStax Cassandra driver supports reactive programming here.Check out the later scenarios to learn how to do Spring reactive programming and see how we created this app.
Here are the components of the Reactive Pet Clinic app:

We'll deploy the app, step-by-step, from the bottom up.
Let's get started!
This scenario is also available on our datastax.com/dev site, where you can find many more resources to help you succeed with Apache Cassandra™.
ver 0.004
This scenario showed you how to run the example Reactive Spring Pet Clinic app.
In this scenario, we:
- Set up the Astra Cassandra database
- Deployed the reactive backend API server
- Accessed the backend API server with Swagger UI
- Deployed the UI app
Now that you see what the app looks like, you may want to explore other scenarios that explain how to create a reactive API.

Steps
Run the Cassandra Spring Reactive Pet Clinic Application
Set up an Astra Cassandra Database
The first step is to set up the database. We'll use Apache Cassandra™ as a service on Astra because it's a world-class database that is easy to set up. If you don't have an Astra account, take 30 seconds to set one up - it's free.
To deploy the database, open a tab in your browser to astra.datastax.com
NOTE: If you already have an Astra database, you can just use it. Or, create a new keyspace. We'll show you in the next step how to customize the app for existing Astra database settings.
When you log in the first time you'll find yourself looking at the main Astra dashboard screen that looks like the image below. click on the Add Database button.
Configure your database by selecting the Free plan.
Next, select a provider.
Now, select a region near you for your database and click the Configure button.
Fill in the Configure and Create Database fields with the following values, then click the Create Database button.
- Database name: petclinic
- Keyspace name: spring_petclinic
- Database username: astra
- Database password: astra2020
You will see the dashboard with your newly created database. While the database is initializing, the CONNECT button is inactive, but becomes active once the database is ready.
It may take a minute for the database to deploy, but you'll get an email when it's ready.