https://github.com/rodobarcaaa/tapir-http4s-seed
Seed project http4s + tapir [bookstore-api]
https://github.com/rodobarcaaa/tapir-http4s-seed
book-store cats cats-effect circe fly4s http4s macwire munit tapir
Last synced: 6 months ago
JSON representation
Seed project http4s + tapir [bookstore-api]
- Host: GitHub
- URL: https://github.com/rodobarcaaa/tapir-http4s-seed
- Owner: rodobarcaaa
- Created: 2021-12-15T03:48:29.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-06T00:08:19.000Z (6 months ago)
- Last Synced: 2025-04-06T22:31:39.333Z (6 months ago)
- Topics: book-store, cats, cats-effect, circe, fly4s, http4s, macwire, munit, tapir
- Language: Scala
- Homepage:
- Size: 198 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# tapir-http4s-seed
[](https://scala-steward.org)
[](https://sonarcloud.io/summary/new_code?id=tapir-http4s-seed)
[](https://sonarcloud.io/summary/new_code?id=tapir-http4s-seed)
[](https://sonarcloud.io/summary/new_code?id=tapir-http4s-seed)
[](https://sonarcloud.io/summary/new_code?id=tapir-http4s-seed)## Try it! JDK 21
```
docker-compose up -d
sbt run
```Swagger: http://0.0.0.0:8080/docs/
Metrics: http://0.0.0.0:8080/metrics
## Tests run
```
sh recreate-db
```- Run all tests: `sbt test`
- Run all tests with coverage check: `sbt tcoverage`
- Run all tests with coverage check and formatting: `sbt +scalafmtAll tcoverage`Also, you can run only one suite like this
```
sbt "to *SOMETest"
```## Ref Documentation
- Http4s: https://http4s.org/v0.23/docs/quickstart.html
- Tapir: https://tapir.softwaremill.com/en/latest/quickstart.html
- Macwire: https://github.com/softwaremill/macwire
- Circe: https://circe.github.io/circe/
- Cats Core: https://typelevel.org/cats/
- Cats Effect: https://typelevel.org/cats-effect/
- Slick: http://books.underscore.io/essential-slick/essential-slick-3.html
- Slick-Pg: https://github.com/tminglei/slick-pg
- Fly4s: https://geirolz.github.io/fly4s/
- MUnit: https://scalameta.org/munit/docs/getting-started.html
- Sonar Scala: https://sonar-scala.com/