scalatra / scalatra

Tiny Scala high-performance, async web framework, inspired by Sinatra

Home Page:http://scalatra.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scalatra Scala CI

Join the chat at https://gitter.im/scalatra/scalatra scalatra Scala version support

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

// for javax
libraryDependencies += "org.scalatra" %% "scalatra-javax" % "3.1.+"

// for jakarta
libraryDependencies += "org.scalatra" %% "scalatra-jakarta" % "3.1.+"

Community

About

Tiny Scala high-performance, async web framework, inspired by Sinatra

http://scalatra.org

License:Other


Languages

Language:Scala 99.5%Language:Java 0.5%