- this is a small demo of Reactive-Spring
- dependencies with webflux & data-mongodb-reactive
-
start directly
# MongoDB required # settings: `application.properties` spring.data.mongodb.uri $ mvn spring-boot:run
-
start with docker
# Docker required $ docker stack up -c ./docker-compose.yml demo
http://localhost:8080/static/index.html
http://localhost:8080/static/member-demo.html
- Router Style
- WebFlux Demo (router style)
- default enable
- Controller Style
- WebFlux Demo (controller style)
- default disable: set
spring.profiles.active=controller
to enable
http://localhost:8080/static/websocket-demo.html
- Reactive WebSocket Demo
http://localhost:8080/static/file-upload-demo.html
- Multiple File upload with SSE Response