Member-only story
Reactive REST API with Spring WebFlux and Spring Data Cassandra
6 min readJul 25, 2022
In this story, we’ll implement a sample REST API that uses Spring Webflux with Spring Data Cassandra.
Press enter or click to view image in full size![]()
If you are not a Medium member, then click here to read for free.
· Prerequisites
· Overview
∘ What is Apache Cassandra?
∘ Cassandra keyspaces
∘ Cassandra Setup with Docker
· Project Setup
∘ Configure Spring Data Cassandra
∘ Property Mapping Table:
· CRUD API
∘ Create Book Repository interface
∘ Service Layer
∘ Create Book Controller
· Test the application
· Conclusion
· References
Prerequisites
This is the list of all the prerequisites:
- Spring Boot 3+
- Maven 3.6.3 or later
- Java 21
- IntelliJ IDEA, Visual Studio Code, or another IDE
- Docker installed
- Docker compose is installed
- Postman
