Skip to content

vkai/RestMessageService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rest Message Service

###To build: Simply run gradle build. This will compile the code, handle all dependencies, create distribution packages, and run tests.

###To run: Run java -jar RestMessageService-0.0.1.jar with the jar file produced in build/libs. The service can also be run with gradle run, or with the RestMessageService executable produced in the tar dist at build/distributions.

###To use: The service can be reached at http://localhost:8080 with these operations:

  • POST /chat - creates a new message with {username,text,(timeout)}
  • GET /chat/{id} - gets the username,text,expiration of message with id
  • GET /chats/{username} - gets the unexpired messages for username

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages