Reactive CRUD with Spring WebFlux, embedded mongoDB and integration tests
git clone https://github.com/DOKL57/spring-reactive.git
cd ./spring-reactive
mvn spring-boot:run
The app defines following CRUD APIs.
Method | Url | Description |
---|---|---|
GET | /products | Get list of all products |
GET | /products/{id} | Get product by {id} |
GET | /products/range | Get all products with price from {min} to {max} |
POST | /products/ | Add new product |
PUT | /products/update/{id} | Update product with {id} |
DELETE | /products/delete/{id} | Delete product with {id} |