Skip to content

A sample project created using Spring Boot 2, Spring Data Mongo-Db Reactive, Spring Boot Webflux, Spring Security Webflux, Functional Routes

Notifications You must be signed in to change notification settings

mohitsinha/spring-boot-webflux-reactive-mongo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot Webflux Reactive Mongo

This is a sample application that shows how to build a web application using

  • Spring Boot 2
  • Spring Webflux
  • Spring Reactive Data MongoDb
  • Spring Security Reactive Webflux

Please see the following pages for more details

Running

In application.properties, configure appropriate values.

Run this using using the gradle wrapper included

./gradlew bootRun

And then go to http://localhost:8080 to test the API's.

cURL Commands

You can try the following API's once the server is running.

GET /person

curl http://localhost:8080/person -v -u tom:password

GET /person/{id}

curl http://localhost:8080/person/{id} -v -u tom:password

POST /person

curl -X POST -d '{"name":"John Doe","age":20}' -H "Content-Type: application/json" http://localhost:8080/person -v -u tom:password

About

A sample project created using Spring Boot 2, Spring Data Mongo-Db Reactive, Spring Boot Webflux, Spring Security Webflux, Functional Routes

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages