lhns / http4s-play

Use http4s routes as Play framework routes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Use http4s routes as Play framework routes

License:Apache License 2.0


Languages

Language:Scala 100.0%