This example demonstrates the use of Bigtop Routes within a Scalatra application.
You should be able to get this up and running with the following code:
git clone [email protected]/bigtop/scalatra-example.git bigtop-scalatra-example
cd bigtop-scalatra-example
./sbt jetty-run ~prepare-webapp
The important files in this demo are:
ExampleServlet.scala
- your trusty ScalatraServlet;ExampleSite.scala
- Routes Site object.