Created using the Ratpack template from Lazybones
Very similar structure to the Example Ratpack Gradle/Groovy App which has a better README.
Unlike a typical Ratpack Gradle/Groovy App, the ratpack directory is not in src/ratpack. Instead the contents of that directory are in the project root directory.
-
public - directory contains static HTML and resources
-
templates - directory contains Groovy templates (HTML with some Groovy variables)
-
ratpack.groovy - Ratpack routes, code to set template variables, etc.