Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tiny Scala high-performance, async web framework, inspired by Sinatra
Branch: scala-2.10
Pull request Compare This branch is 907 commits behind scalatra:2.4.x.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
akka/src
atmosphere/src/main
auth/src
commands/src
common/src/main/scala/org/scalatra
core/src
example/src/main
fileupload/src
jetty/src/main
json/src
notes
project
scalate/src
scalatest/src/main
slf4j/src/main/scala/org/scalatra/slf4j
specs2/src
swagger-ext/src
swagger/src
test/src
.gitignore
CONTRIBUTING.markdown
CREDITS.md
LICENSE
README.markdown
sbt

README.markdown

Scalatra Build Status

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

Example

import org.scalatra._

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

Documentation

Please see The Scalatra Book for more.

Latest version

The latest version of Scalatra is 2.1.1, and is published to Maven Central.

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

Development version

The develop branch is published as 2.2.0-SNAPSHOT to OSSRH.

Starting with 2.1.x, Scalatra is no longer crossbuilt. This means no %% operator in the library dependency.

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

libraryDependencies += "org.scalatra" % "scalatra" % "2.2.0-SNAPSHOT"

Community

Something went wrong with that request. Please try again.