go-event

module
v0.0.0-...-4c581ce Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2019 License: Apache-2.0

README

go-event

DDD + CQRS + Event sourcing example with GoLang + PostgreSQL as Store Event (Cockroach) and MongoDB as Read Model.

  • Install postgresql and cockroach
  • Install go and dep

TODO

  • Implement reconnect funtionality to RabbitMQ
  • Create repository for MongoDB
  • Implement read model using MongoDB
  • Implement Saga orchestrator for user registration

Steps

  • dep ensure inside go-event root folder
  • Start psql service
  • Execute cockroach start --insecure --listen-addr=localhost
  • Execute go run cmd/go-event/main.go
  • Start mongoDB service (see config/mongo)
  • Start RabbitMQ service (see config/rabbitmq)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL