A simple example of a multi-module project with an encapsulated dependency on Spring Boot.
- Java >= 8
./gradlew bootRun
-
GET /
- returns all messages stored in memory -
GET /{id}
- returns a single message based on its ID or404 Not Found
-
POST /?content={message}
- stores a new message and returns it