olafgeibig / asyncmongo

Example application using mongodb asynchronously

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 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.

About

Example application using mongodb asynchronously


Languages

Language:Groovy 87.7%Language:HTML 12.3%