Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/squidmin/java-spring-reactive-web-reference
Spring Boot Reactive Web application demonstrating the usage of Spring WebFlux to create non-blocking REST APIs
https://github.com/squidmin/java-spring-reactive-web-reference
api-development gradle gradle-java java java17 java17-spring-boot spring-boot spring-boot-3 spring-reactive spring-reactive-web spring-webflux spring-webflux-api
Last synced: 9 days ago
JSON representation
Spring Boot Reactive Web application demonstrating the usage of Spring WebFlux to create non-blocking REST APIs
- Host: GitHub
- URL: https://github.com/squidmin/java-spring-reactive-web-reference
- Owner: squidmin
- Created: 2024-04-26T20:53:18.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-04-26T23:00:55.000Z (6 months ago)
- Last Synced: 2024-10-12T23:01:40.417Z (24 days ago)
- Topics: api-development, gradle, gradle-java, java, java17, java17-spring-boot, spring-boot, spring-boot-3, spring-reactive, spring-reactive-web, spring-webflux, spring-webflux-api
- Language: Java
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# java-spring-reactive-web-reference
Spring Boot Reactive Web application demonstrating the usage of Spring WebFlux to create non-blocking REST APIs.
## Prerequisites
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).## Getting Started
Clone the repository to your local machine:
```bash
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.
## Building the application
```bash
./gradlew build
```## Running the application
```bash
./gradlew bootRun
```The application will be available at `http://localhost:8080`.
### Available endpoints
- `GET /hello`: Returns a simple greeting.
- `GET /{productId}/recommendations`: Return fake product recommendations.## Running tests
```bash
./gradlew test
```