Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 389 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 389 Bytes

Multi-module project

A simple example of a multi-module project with an encapsulated dependency on Spring Boot.

Requirements

  • Java >= 8

Running

./gradlew bootRun

Endpoints

  • GET / - returns all messages stored in memory

  • GET /{id} - returns a single message based on its ID or 404 Not Found

  • POST /?content={message} - stores a new message and returns it