This template is fixed on cats.effect.IO
. For a final tagless version, see http4s.g8.
Generate an http4s service on the ember backend with Circe.
- Install sbt
- Create your project:
- Scala 2:
sbt new http4s/http4s-io.g8
- Scala 3:
sbt new http4s/http4s-io.g8 --branch 0.23-scala3
- Java 8:
sbt new http4s/http4s-io.g8 --branch 0.23-java8
- Scala 2:
cd quickstart
sbt run
curl http://localhost:8080/hello/$USER
- Learn more