Generate an http4s service on the blaze backend with Circe.
- Install sbt
sbt new http4s/http4s.g8
cd quickstart
sbt run
curl http://localhost:8080/hello/$USER
- Learn more
Note:
We have enabled sbt-partial-unification necessary for utilizing all features of Http4s and Cats. As well as sbt-revolver for easier project reloading.
We have commented out the sbt-tpolecat plugin in the generated project/plugins.sbt
.
We highly recommend it for projects, but it may not be a good baseline for new users.