Scalatra is a tiny, Sinatra-like web framework for Scala.
import org.scalatra._
class ScalatraExample extends ScalatraServlet {
get("/") {
<h1>Hello, world!</h1>
}
}
If you're just starting out, see the installation and first project sections of our website.
Once you've done that, take a look at the Scalatra Guides for documentation on all aspects of the framework, code examples, and more. We also have an extensive selection of Example Applications which accompany the tutorials in the Scalatra Guides.
The latest version of Scalatra is 2.7.+
, and is published to Maven Central.
libraryDependencies += "org.scalatra" %% "scalatra" % "2.7.+"
- Gitter: Scalatra/Scalatra
- Mailing list: scalatra-user
- IRC: #scalatra on irc.freenode.org
- Guidelines for contributing