Tiny Scala high-performance, async web framework, inspired by Sinatra
Scala Shell CSS Other
Latest commit f4385c2 Jul 15, 2016 @rossabaker rossabaker committed on GitHub Merge pull request #578 from megaminx/2.4.x
Escape javascript to avoid Xss
Failed to load latest commit information.
atmosphere/src update atmosphere to version 2.4.3 May 17, 2016
auth/src Remove past json files for http://ls.implicit.ly/ May 16, 2015
cache-guava/src Remove past json files for http://ls.implicit.ly/ May 16, 2015
cache/src Fixes double evaluation of result Sep 25, 2015
commands/src scalaz 7.2.1, specs2 3.7.2 Mar 9, 2016
common/src/main/scala/org/scalatra Remove past json files for http://ls.implicit.ly/ May 16, 2015
core/src Escape javascript to avoid Xss Jul 3, 2016
example/src/main Optimize imports by using IntelliJ IDEA Dec 23, 2014
fileupload/src Remove past json files for http://ls.implicit.ly/ May 16, 2015
jetty/src Remove past json files for http://ls.implicit.ly/ May 16, 2015
json/src Fixes #486. May 24, 2015
metrics/src Merge pull request #505 from scalatra/topic/metrics-scala-3.5.x May 17, 2015
notes version 2.4.0 Dec 15, 2015
project Escape javascript to avoid Xss Jul 3, 2016
scalate/src Fix error handling with Future and errorHandler May 24, 2016
scalatest/src/main/scala/org/scalatra/test/scalatest Remove past json files for http://ls.implicit.ly/ May 16, 2015
slf4j/src/main/scala/org/scalatra/slf4j Have valid request/response in scope when an AtmosphereClient is cons… Jun 12, 2015
specs2/src updated specs2 to 3.6.+ May 21, 2015
spring/src Optimize imports by using IntelliJ IDEA Dec 23, 2014
swagger-ext/src Remove past json files for http://ls.implicit.ly/ May 16, 2015
swagger/src updated specs2 to 3.6.+ May 21, 2015
test/src updated specs2 to 3.6.+ May 21, 2015
.gitignore define .jvmopts May 16, 2014
.jvmopts define .jvmopts May 16, 2014
.travis.yml Bump minor versions of libs May 25, 2016
CONTRIBUTING.markdown Found another typo. Oct 21, 2015
CREDITS.md Credits and notes. Jun 11, 2013
LICENSE Rename project to Scalatra. Thanks to Hiram Chirino for the name. Jul 3, 2010
README.markdown Bump minor versions of libs May 25, 2016
crosspaths.sbt fiddle a bit with the build, fix tostring on a binding Mar 28, 2013
publishing.sbt upgrade a bunch of dependencies but not jetty Aug 25, 2013
sbt Fixing typesafe repository. Jul 31, 2015
version.sbt update atmosphere to version 2.4.3 May 17, 2016

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

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

Development version

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

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

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

Community