/http4s.g8

giter8 template for bootstrapping http4s services

Primary LanguageScalaOtherNOASSERTION

http4s giter8 template Build Status

Generate an http4s service on the blaze backend with Circe.

  1. Install sbt
  2. sbt new http4s/http4s.g8
  3. cd quickstart
  4. sbt run
  5. curl http://localhost:8080/hello/$USER
  6. 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.