Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 1.42 KB

File metadata and controls

59 lines (38 loc) · 1.42 KB

Spring Boot WebFlux Client (Reactive WebClient + MongoDB API)

🌍 Description

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.


🚀 Features

  • 🔁 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

⚙️ Technologies Used

  • Java 22+
  • Spring Boot 3.x
  • Spring WebFlux
  • WebClient (reactive)
  • Maven

▶️ How to Run

# 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:run

The client will start on http://localhost:8090 or your configured port.


📡 Consumed API

This client connects to: https://github.com/freyderdev/spring-boot-webflux-apirest


🧠 Author

Freyder Otálvaro
GitHub
Colombia 🇨🇴