Skip to content

evgeniysharapov/spring-reactor-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

This is a project that demonstrates use of Spring Boot, Spring MVC (as a REST controller) and Reactor. This project and improvisation is based on the Building a RESTful Web Service guide.

Usage

To build and test

mvn test

To run it from the command line

mvn spring-boot:run

After that your should have application available on port 8080.

You can go to http://localhost:8080/greeting?name=Evgeniy

To see the returned JSON

{
  id: 1,
  content: "Hello, Evgeniy!"
}

If you try to call http://localhost:8080/greeting?name=Evgeniy1 you should get back 400 error code.

About

Demo project to illustrate use of Reactor in a Spring Application for Lunch and Learn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages