A minimal set of utilities for developing microservices, built on top of the Typelevel stack.
Note
Currently only supports scala 3. You can try a snapshot
Important
Unauthorized access to the Github Registry is currently not possible (see discussion). The preferred method
is to generate a Personal Access Token with read:packages
permissions and set it as an
environment variable, i.e GITHUB_TOKEN
.
Add to build.sbt
:
Global / resolvers += "GitHub Package Registry" at "https://maven.pkg.github.com/ramytanios/tldev"
ThisBuild / credentials += Credentials(
"GitHub Package Registry",
"maven.pkg.github.com",
"<YOUR_GITHUB_USERNAME>",
sys.env.getOrElse("GITHUB_TOKEN", "")
)
"io.github.ramytanios" %% "tldev-http" % "<VERSION>"
"io.github.ramytanios" %% "tldev-core" % "<VERSION>"
"io.github.ramytanios" %% "tldev-postgres" % "<VERSION>"
Tip
For a smooth development experience and to benefit from the existing development shell, we recommend
- Install Nix
- Enable Nix flakes
- Install direnv
Try the examples by running examples/run
in sbt.