Skip to content

gytis/vertx-spring-boot-message-board-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Messages board example

A simple application which allows to exchange messages via REST API and displays live messages on a message board.

Usage

Build the application.

$ ./mvnw package

Start messages service in a first terminal window.

$ java -jar messages-service/target/messages-service.jar 

Start dashboard service in a second terminal window.

$ java -jar dashboard/target/dashboard.jar 

Open messages board in your browser.

Send messages in a third terminal window using HTTPie.

$ http POST :8081 sender=John text="Hello, World"

Or using cURL.

$ curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X POST -d '{"sender": "John", "text": "Hello again"}' http://localhost:8081

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages