http4s / http4s.g8

giter8 template for bootstrapping http4s services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

http4s giter8 template

This template is based on a final tagless architecture. For an alternate version fixed on cats.effect.IO, see http4s-io.g8.

Instructions

Generate an http4s service on the ember backend with Circe.

  1. Install sbt
  2. Create your project:
    • Scala 2: sbt new http4s/http4s.g8
    • Scala 3: sbt new http4s/http4s.g8 --branch 0.23-scala3
    • Java 8: sbt new http4s/http4s.g8 --branch 0.23-java8
  3. cd quickstart
  4. sbt run
  5. curl http://localhost:8080/hello/$USER
  6. Learn more

About

giter8 template for bootstrapping http4s services

License:Other


Languages

Language:Scala 100.0%