Skip to content

analogweb/analogweb-scala

Repository files navigation

Analogweb Framework Scala

Build Status codecov Codacy Badge Maven Central License FOSSA Status

Quick Start

Create build.sbt

scalaVersion := "3.1.1"
libraryDependencies ++= Seq (
  "org.analogweb" %% "analogweb-scala" % "0.13.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