Analogweb Framework is tiny, simple, and pluggable web framework with Scala.

This Framework helps you quickly building web API and currently supports these servers.

First of all ,you will checkout this project.

Quick Start

You need to add sbt dependency to build.sbt.

"org.analogweb" %% "analogweb-scala" % "0.9.14"

And write a code like this.

package org.analogweb.example
import org.analogweb.core.Servers
import org.analogweb.scala.Analogweb

object Hello extends Analogweb {

  def main(args: Array[String]) = Servers.run()
   
  get("/helloworld") {
     "Hello World"
  }

}

Execute “sbt run” and you will get them.

$ curl localhost:8000/helloworld
$ Hello World