Skip to content

freyderdev/spring-boot-webflux-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 🇨🇴

About

Reactive WebClient application that consumes a RESTful API built with Spring Boot and WebFlux.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages