Spring Boot Reactive Web application demonstrating the usage of Spring WebFlux to create non-blocking REST APIs.
Before you begin, ensure you have met the following requirements:
- Java JDK 17 installed.
- IntelliJ IDEA (Community or Ultimate Edition), or your IDE of choice.
- Gradle 8.7 (integrated with your IDE or installed separately).
Clone the repository to your local machine:
git clone https://github.com/squidmin/java-spring-reactive-web-reference.git
cd /Users/username/path/to/spring-boot-reactive-web-reference
Replace the path with the actual location of your clone of the project.
./gradlew build
./gradlew bootRun
The application will be available at http://localhost:8080
.
GET /hello
: Returns a simple greeting.GET /{productId}/recommendations
: Return fake product recommendations.
./gradlew test