Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```