Skip to content
/ d4s Public
forked from PlayQ/d4s

Dynamo DB Database Done Scala-way

License

Notifications You must be signed in to change notification settings

7mind/d4s

 
 

Repository files navigation

d4s - "Dynamo DB Database Done Scala-way"

Logo

What is it? Build

d4s - is a Scala library that allows you to work with DynamoDB in a pure functional way. It's powered by Izumi, uses Bifunctor IO and allows you to choose whatever effect type you want to use. It provides flexible and extensible DSL, supports AWS SDK v2 and has great integration with ZIO.

include the following components:

  1. d4s – core package, the lib itself.
  2. d4s-circe – provides circe codecs to encode the data.
  3. d4s-test - provides test enviroment and docker containers via DIstage TestKit.
  4. metrics - a small yet convinient package for metrics aggregation.
  5. aws-common - tagging and namespaces

Quickstart

The latest version is 1.0.4. To use it just add the following line to your build.sbt file:

// available for 2.12 and 2.13
libraryDependencies += "net.playq" %% "d4s" %% "1.0.4"

In case you want to have Circe codecs you should also add this:

// available for 2.12 and 2.13
libraryDependencies += "net.playq" %% "d4s-circe" %% "1.0.4"

If you want to use only the metrics package from d4s you can add it like this:

// available for 2.12 and 2.13
libraryDependencies += "net.playq" %% "metrics" %% "1.0.4"

Example project:

Materials and docs (microsite in work):

About

Dynamo DB Database Done Scala-way

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 95.6%
  • Shell 4.1%
  • Other 0.3%