analogweb / analogweb-scala

Tiny High Performance HTTP Server for Scala

GitHub

Analogweb Framework Scala

Build Status codecov Codacy Badge Maven Central License FOSSA Status

Quick Start

Create build.sbt

scalaVersion := "2.12.8"
libraryDependencies ++= Seq (
  "org.analogweb" %% "analogweb-scala" % "0.11.0"
)

Start sbt console.

$ sbt console

Write a code.

scala> import analogweb._
import analogweb._

scala> http("localhost",8000) {
    |   get("ping") { _ =>
    |     "PONG"
    |   }
    | }.run
...
INFO: An Analogweb application has been booted. (Erapsed time: 412ms)

and you will get them.

$ curl localhost:8000/ping
PONG

License

FOSSA Status