lhns / http4s-play   0.0.2

Apache License 2.0 GitHub

Use http4s routes as Play framework routes

Scala versions: 2.13 2.12

http4s-play

Test Workflow Release Notes Maven Central Apache License 2.0 Scala Steward badge

Use http4s routes as Play framework routes.

What's the benefit? To benefit from the nice features that both Play and http4s offer, without drastic nearly-impossible migrations. Play can still be the outside, while you use http4s for the nice fully pure FP.

See http4s/http4s#1819 for more background.

build.sbt

libraryDependencies += "de.lolhens" %% "http4s-play" % "0.0.2"

Usage

Run the tests:

$ sbt play-route/test

Running:

$ sbt example/run

License

This project uses the Apache 2.0 License. See the file called LICENSE.