https://github.com/scalatra/scalatra
Tiny Scala high-performance, async web framework, inspired by Sinatra
https://github.com/scalatra/scalatra
atmosphere jetty json scala scalate sinatra swagger web-framework
Last synced: 7 days ago
JSON representation
Tiny Scala high-performance, async web framework, inspired by Sinatra
- Host: GitHub
- URL: https://github.com/scalatra/scalatra
- Owner: scalatra
- License: other
- Created: 2009-05-31T09:20:32.000Z (almost 16 years ago)
- Default Branch: main
- Last Pushed: 2025-04-23T15:53:28.000Z (7 days ago)
- Last Synced: 2025-04-23T16:52:18.564Z (7 days ago)
- Topics: atmosphere, jetty, json, scala, scalate, sinatra, swagger, web-framework
- Language: Scala
- Homepage: http://scalatra.org
- Size: 7.83 MB
- Stars: 2,649
- Watchers: 81
- Forks: 339
- Open Issues: 70
-
Metadata Files:
- Readme: README.markdown
- Contributing: CONTRIBUTING.markdown
- License: LICENSE
Awesome Lists containing this project
- awesome-scala - **scalatra** - performance, async web framework, inspired by Sinatra |   (Table of Contents / Web Frameworks)
- fucking-awesome-scala - **scalatra** - performance, async web framework, inspired by Sinatra |   (Table of Contents / Web Frameworks)
- fucking-awesome-scala - **scalatra** - performance, async web framework, inspired by Sinatra |   (Table of Contents / Web Frameworks)
README
## Scalatra 
[](https://gitter.im/scalatra/scalatra?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[](https://index.scala-lang.org/scalatra/scalatra/artifacts/scalatra-jakarta)Scalatra is a tiny, [Sinatra](https://sinatrarb.com/)-like web framework for
[Scala](http://www.scala-lang.org/).## Example
```scala
import org.scalatra._class ScalatraExample extends ScalatraServlet {
get("/") {
Hello, world!
}
}
```## Documentation
If you're just starting out, see the [installation](https://scalatra.org/getting-started/installation.html) and [first project](https://scalatra.org/getting-started/first-project.html) sections of our website.
Once you've done that, take a look at the [Scalatra Guides](https://scalatra.org/guides/) for documentation on all aspects of the framework, code examples, and more. We also have an extensive selection of [Example Applications](https://github.com/scalatra/scalatra-website-examples) which accompany the tutorials in the Scalatra Guides.
## Latest version
The latest version of Scalatra is `3.1.+`, and is published to [Maven Central](https://repo1.maven.org/maven2/org/scalatra).
```scala
// for javax
libraryDependencies += "org.scalatra" %% "scalatra-javax" % "3.1.+"// for jakarta
libraryDependencies += "org.scalatra" %% "scalatra-jakarta" % "3.1.+"
```## Community
* Gitter: [Scalatra/Scalatra](https://gitter.im/scalatra/scalatra)
* Mailing list: [scalatra-user](https://groups.google.com/group/scalatra-user)
* IRC: #scalatra on irc.freenode.org
* [Guidelines for contributing](CONTRIBUTING.markdown)