https://github.com/http4s/http4s.g8
giter8 template for bootstrapping http4s services
https://github.com/http4s/http4s.g8
Last synced: 8 months ago
JSON representation
giter8 template for bootstrapping http4s services
- Host: GitHub
- URL: https://github.com/http4s/http4s.g8
- Owner: http4s
- License: other
- Created: 2015-01-28T06:45:41.000Z (about 11 years ago)
- Default Branch: 0.23
- Last Pushed: 2025-06-03T17:38:42.000Z (8 months ago)
- Last Synced: 2025-06-07T14:01:41.359Z (8 months ago)
- Language: Scala
- Size: 670 KB
- Stars: 118
- Watchers: 19
- Forks: 75
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# 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](https://github.com/http4s/http4s-io.g8).
## Instructions
Generate an http4s service on the ember backend with Circe.
1. [Install sbt](http://www.scala-sbt.org/1.0/docs/Setup.html)
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](http://http4s.org/)