This is sample code that complements the blog https://www.justexample.com/post/rest-api-resteasy-hibernate-panache-postgresql/