Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.48 KB

README.md

File metadata and controls

39 lines (31 loc) · 1.48 KB

tldev

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>"

Development

Tip

For a smooth development experience and to benefit from the existing development shell, we recommend

  1. Install Nix
  2. Enable Nix flakes
  3. Install direnv

Examples

Try the examples by running examples/run in sbt.