The purpose of this lib is to fit the gap between the async java driver and cats-effects/fs2.
Converting from the driver to fs2 is fairly simple with the usage of fs2.interop.reactivestreams
.
We believe we can avoid that dependency, saving one indirection.
This is a WIP, everything is likely to change till the design will settle.
To use mongo4s in an existing SBT project with Scala 2.12 or a later version, add the following dependencies to your
build.sbt
depending on your needs:
libraryDependencies ++= Seq(
"dev.fpinbo" %% "mongo4s" % "<version>"
)
docker-compose up -d
sbt test
- build site
docker run \
-v $PWD:/$PWD \
-v ~/.sbt:/root/.sbt \
-v ~/.ivy2:/root/.ivy2 \
-v ~/.m2:/root/.m2 \
-v ~/.coursier:/root/.coursier \
-w /$PWD \
-it k3vin/sbt-java8-jekyll \
sbt site/clean site/makeMicrosite
- run at localhost:4000/mongo4s/
docker run \
-v $PWD:/$PWD \
-w /$PWD/site/target/site \
-p 4000:4000 \
-it k3vin/sbt-java8-jekyll \
jekyll serve -b /mongo4s --host 0.0.0.0