Skip to content

Proof of concept for a CQRS based application. Theme tbd, got distracted by Nix and GH Actions

Notifications You must be signed in to change notification settings

Pete1232/subscription-cqrs

Repository files navigation

subscription-cqrs

development environment

Start a nix shell with

nix develop -i

build and run locally

To run the full build

nix develop -i
> genericBuild

or as it runs in CI (make sure to delete all /target directories if running locally, and can still be flaky)

nix build --json
#  [{"drvPath":"/nix/store/34b4iqha5sjaj5dbbk3jw6k024dw02y5-docker-image-subscription-cqrs.tar.gz.drv","outputs":{"out":"/nix/store/dhmjfmlfp2pjsp2i0jkssa4kn2xqn6pm-docker-image-subscription-cqrs.tar.gz"}}]

OUT=$(nix build --json | jq -r ".[] | .outputs.out")

docker load -i $OUT
# Loaded image: subscription-cqrs:latest

docker run subscription-cqrs:latest

About

Proof of concept for a CQRS based application. Theme tbd, got distracted by Nix and GH Actions

Resources

Stars

Watchers

Forks

Packages