Skip to content

bigtop/scalatra-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bigtop / Scalatra example

This example demonstrates the use of Bigtop Routes within a Scalatra application.

Running the code

You should be able to get this up and running with the following code:

git clone git@github.com/bigtop/scalatra-example.git bigtop-scalatra-example
cd bigtop-scalatra-example
./sbt jetty-run ~prepare-webapp

Key files

The important files in this demo are:

  • ExampleServlet.scala - your trusty ScalatraServlet;
  • ExampleSite.scala - Routes Site object.