Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 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 (over 15 years ago)
- Default Branch: main
- Last Pushed: 2024-12-01T06:44:57.000Z (12 days ago)
- Last Synced: 2024-12-03T02:04:35.514Z (10 days ago)
- Topics: atmosphere, jetty, json, scala, scalate, sinatra, swagger, web-framework
- Language: Scala
- Homepage: http://scalatra.org
- Size: 7.74 MB
- Stars: 2,654
- 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 | ![GitHub stars](https://img.shields.io/github/stars/scalatra/scalatra) ![GitHub commit activity](https://img.shields.io/github/commit-activity/y/scalatra/scalatra) (Table of Contents / Web Frameworks)
README
## Scalatra ![Scala CI](https://github.com/scalatra/scalatra/workflows/build/badge.svg?branch=main)
[![Join the chat at https://gitter.im/scalatra/scalatra](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/scalatra/scalatra?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![scalatra Scala version support](https://index.scala-lang.org/scalatra/scalatra/scalatra-jakarta/latest-by-scala-version.svg?platform=jvm)](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)