- Setup your MySQL instance via docker or using a local instance
- Enable
JDBC_FLYWAY
inconfig.yml
to run flyway migration to initialize the schema - IntelliJ program arguments
server config.yml
- Create Maven project from
pom.xml
Defaults:
- Get all existing saying records
- Get a saying record by id
- Create a new saying record
{ "content" : "Hello, %s!", "active": "true" }
- Update an existing saying by id
- Delete an existing saying by id
- Get a random existing active saying