Skip to content
Tiny Scala high-performance, async web framework, inspired by Sinatra http://scalatra.org
Scala Shell CSS Other
Find file
Latest commit d2d26ab @seratch seratch Fix readme
Failed to load latest commit information.
atmosphere/src Fixing the owner chain using a multi-step macro approach.
auth/src Remove past json files for http://ls.implicit.ly/
cache-guava/src Remove past json files for http://ls.implicit.ly/
cache/src Fixes double evaluation of result
commands/src s/fail/failure
common/src/main/scala/org/scalatra Remove past json files for http://ls.implicit.ly/
core/src Merge pull request #535 from seratch/feature/2.4.x/531
example/src/main Optimize imports by using IntelliJ IDEA
fileupload/src Remove past json files for http://ls.implicit.ly/
jetty/src Remove past json files for http://ls.implicit.ly/
json/src Fixes #486.
metrics/src Merge pull request #505 from scalatra/topic/metrics-scala-3.5.x
notes version 2.4.0
project Start 2.4.1 development
scalate/src Removed request/response scoping macro from 2.4.x release.
scalatest/src/main/scala/org/scalatra/test/scalatest Remove past json files for http://ls.implicit.ly/
slf4j/src/main/scala/org/scalatra/slf4j Have valid request/response in scope when an AtmosphereClient is cons…
specs2/src updated specs2 to 3.6.+
spring/src Optimize imports by using IntelliJ IDEA
swagger-ext/src Remove past json files for http://ls.implicit.ly/
swagger/src updated specs2 to 3.6.+
test/src updated specs2 to 3.6.+
.gitignore define .jvmopts
.jvmopts define .jvmopts
.travis.yml Bump dependencies, scala minor version
CONTRIBUTING.markdown Found another typo.
CREDITS.md Credits and notes.
LICENSE Rename project to Scalatra. Thanks to Hiram Chirino for the name.
README.markdown Fix readme
crosspaths.sbt fiddle a bit with the build, fix tostring on a binding
publishing.sbt upgrade a bunch of dependencies but not jetty
sbt Fixing typesafe repository.
version.sbt Start 2.4.1 development

README.markdown

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.4.0, and is published to Maven Central.

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

Development version

The 2.4.x branch is published as 2.4.1-SNAPSHOT to OSSRH.

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

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

Community

Something went wrong with that request. Please try again.