Skip to content

EnerNOC/finatra

This branch is 283 commits ahead of, 2254 commits behind twitter/finatra:develop.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0640520 · Apr 19, 2014
Jan 4, 2014
Apr 10, 2014
Apr 10, 2014
Sep 29, 2012
Dec 23, 2013
Jul 19, 2012
Apr 10, 2014
Jan 8, 2014
Apr 16, 2014
Apr 10, 2014
Nov 5, 2012
Jul 19, 2012
Apr 10, 2014

Repository files navigation

Finatra Build Status

Finatra is a sinatra-inspired web framework for scala, running on top of Finagle

See the Getting Started guide or the Documentation for more information.

Get help on the finatra-users mailing list.

class HelloWorld extends Controller {

  get("/hello/:name") { request =>
    val name = request.routeParams("name").getOrElse("default user")
    render.plain("hello " + name).toFuture
  }

}

object App extends FinatraServer {
  register(new HelloWorld())
}

SBT (dual published for 2.9.x or 2.10.x)

"com.twitter" %% "finatra" % "1.5.3"

Maven

<dependency>
  <groupId>com.twitter</groupId>
  <artifactId>finatra_2.10</artifactId>
  <!-- for 2.9 <artifactId>finatra_2.9.2</artifactId> -->
  <version>1.5.3</version>
</dependency>

License

Copyright 2014 Twitter, Inc and other contributors

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

Packages

No packages published

Languages

  • Scala 86.9%
  • Shell 13.1%