Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/g-khan/spring-reactive-mongodb-web-service
https://github.com/g-khan/spring-reactive-mongodb-web-service
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/g-khan/spring-reactive-mongodb-web-service
- Owner: G-khan
- Created: 2022-01-22T09:11:31.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-04T13:37:36.000Z (almost 3 years ago)
- Last Synced: 2023-07-19T17:34:39.420Z (over 1 year ago)
- Language: Java
- Size: 239 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## spring-reactive-mongodb-web-service
User service for Spring Data Reactive MongoDB with Spring Webflux (Functional Endpoints)
![Project Status: Active](https://www.repostatus.org/badges/latest/active.svg)
### Prerequisites
* JDK 11+
* Docker or MongoDB installed
* [You can read my article on Medium](https://medium.com/yemeksepeti-teknoloji/spring-reactive-mongodb-ile-reactive-uygulama-geli%C5%9Ftirme-e046fa49ae58)Examples
* Mono, Flux structures
* Functional Reactive Endpoints
* WebTestClient
* Spring Data Mongo Reactive
###
GET http://localhost:8083/api/v1/users
###
POST http://localhost:8083/api/v1/users
Content-Type: application/json
{
"name": "Zühtü",
"score": 52
}
###
PUT http://localhost:8083/api/v1/users/61ec13ca48d46147479f8fcd
Content-Type: application/json
{
"name": "Gokhanadev",
"score": 52
}###
GET http://localhost:8083/api/v1/users/61ec13ca48d46147479f8fcd
###
DELETE http://localhost:8083/api/v1/users/61ec13ca48d46147479f8fcd
###
DELETE http://localhost:8083/api/v1/users?name=Zühtü