Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tiny Scala web framework, inspired by Sinatra

This branch is 1030 commits behind scalatra:develop

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
akka/src
anti-xml/src
auth/src
core/src
docs/src/main/scala/org/scalatra/docs
example/src/main
fileupload/src
lift-json/src
notes
project
scalate/src
scalatest/src/main/scala/org/scalatra/test/scalatest
socketio/src/main/scala/org/scalatra/socketio
specs/src/main/scala/org/scalatra/test/specs
specs2/src
test/src
.gitignore
CONTRIBUTING.markdown
CREDITS.md
LICENSE
README.markdown

README.markdown

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.

The old readme is deprecated in favor of the book, but may still be more advanced in a few subjects. If you find one, please let us know.

Latest version

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

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

Development version

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

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

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

Community

Something went wrong with that request. Please try again.