Skip to content
Tiny Scala high-performance, async web framework, inspired by Sinatra
Scala Shell CSS Other
Find file
Latest commit 3cb786a Mar 24, 2016 @seratch seratch Merge pull request #565 from seratch/build-settings
Remove mima plugin, sbt 0.13.11
Failed to load latest commit information.
atmosphere/src Fixing the owner chain using a multi-step macro approach. Jun 19, 2015
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 CorsSupport can be disabled with context.initParameters("org.scalatra… Mar 8, 2016
example/src/main Optimize imports by using IntelliJ IDEA Dec 24, 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 Remove mima plugin, sbt 0.13.11 Mar 9, 2016
scalate/src Removed request/response scoping macro from 2.4.x release. Oct 4, 2015
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 15, 2014
.jvmopts define .jvmopts May 16, 2014
.travis.yml Bump dependencies, scala minor version Oct 6, 2015
CONTRIBUTING.markdown Found another typo. Oct 20, 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 Fix readme Dec 20, 2015
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 Start 2.4.1 development Dec 20, 2015

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.