• Stars
    star
    14
  • Rank 1,387,747 (Top 29 %)
  • Language
    Scala
  • License
    Apache License 2.0
  • Created almost 9 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Async lightweight Scala web framework

peregrine

Join the chat at https://gitter.im/dvarelap/peregrine Build Status Bintray

Minimal app:

import io.peregrine._

object WebApp extends PeregrineApp {
  get("/hi") { req =>
    "Hello World!"
  }
}

Install dependency in build.sbt file:

scalaVersion := "2.11.7"
resolvers += "Twitter" at "http://maven.twttr.com"
resolvers += "bintray" at "https://dl.bintray.com/dvarelap/maven"
libraryDependencies += "com.github.dvarelap" %% "peregrine" % "1.2.2"

And run with:

$ sbt run

View at: http://localhost:5000/hi

Full Documentation

See full documentation here

Note Peregrine works only with scala version 2.11+

Licence

Copyright 2015 Daniel Varela and other contributors.

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