Home Scalatra

Scalatra

Scalatra


Language :
Platform :
Type :


Scalatra Build Status

Join the chat at https://gitter.im/scalatra/scalatra

Scalatra is a tiny, Sinatra-like web framework for Scala.

Example

import org.scalatra._

class ScalatraExample extends ScalatraServlet {
  get("/") {
    <h1>Hello, world!</h1>
  }
}

Documentation

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.

Latest version

The latest stable version of Scalatra is 2.5.+, and is published to Maven Central.

libraryDependencies += "org.scalatra" %% "scalatra" % "2.5.+"

Development version

The 2.5.x branch is published as 2.5.{x}-SNAPSHOT to OSSRH.

resolvers += "Sonatype Nexus Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"

libraryDependencies += "org.scalatra" %% "scalatra" % "2.5.{x}-SNAPSHOT"

Community

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    8 + 20 =

    Leave a Comment

    5 × five =