https://github.com/wololock/ratpack-thymeleaf-example
https://github.com/wololock/ratpack-thymeleaf-example
ratpack ratpackweb thymeleaf
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/wololock/ratpack-thymeleaf-example
- Owner: wololock
- Created: 2018-06-24T08:22:18.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-11-03T19:14:01.000Z (over 6 years ago)
- Last Synced: 2025-03-27T18:23:17.772Z (about 1 year ago)
- Topics: ratpack, ratpackweb, thymeleaf
- Language: Java
- Size: 50.8 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Ratpack project template
-----------------------------
You have just created a basic Groovy Ratpack application. It doesn't do much
at this point, but we have set you up with a standard project structure, a
Guice back Registry, simple home page, and Spock for writing tests (because
you'd be mad not to use it).
In this project you get:
* A Gradle build file with pre-built Gradle wrapper
* A tiny home page at src/ratpack/templates/index.html (it's a template)
* A routing file at src/ratpack/Ratpack.groovy
* Reloading enabled in build.gradle
* A standard project structure:
|
+- src
|
+- ratpack
| |
| +- Ratpack.groovy
| +- ratpack.properties
| +- public // Static assets in here
| |
| +- images
| +- lib
| +- scripts
| +- styles
|
+- main
| |
| +- groovy
|
+- // App classes in here!
|
+- test
|
+- groovy
|
+- // Spock tests in here!
That's it! You can start the basic app with
./gradlew run
but it's up to you to add the bells, whistles, and meat of the application.