This is a reactive Spring Boot project that consumes an external REST API using WebClient. It connects to a backend service that provides product data (CRUD) stored in MongoDB and demonstrates how to consume reactive endpoints with non-blocking programming.
- 🔁 Consumes a reactive REST API using
WebClient - 📦 Retrieves product data from another Spring WebFlux service
- 🧩 Functional programming style with Router + Handler
- ✅ Reactive error handling and data streaming
- 🧪 Easily extensible for integration testing
- Java 22+
- Spring Boot 3.x
- Spring WebFlux
- WebClient (reactive)
- Maven
# 1. Make sure the API REST is running on http://localhost:8080
# (This project depends on 'spring-boot-webflux-apirest')
# 2. Clone this repository
git clone https://github.com/freyderdev/spring-boot-webflux-client.git
cd spring-boot-webflux-client
# 3. Run the application
./mvnw spring-boot:runThe client will start on http://localhost:8090 or your configured port.
This client connects to: https://github.com/freyderdev/spring-boot-webflux-apirest
Freyder Otálvaro
GitHub
Colombia 🇨🇴