Skip to content

Kata with DDD + CQRS + Event sourcing with GoLang + PostgreSQL + Docker.

License

Notifications You must be signed in to change notification settings

adriancarayol/go-event

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Kata with DDD + CQRS + Event sourcing with GoLang + PostgreSQL + Docker.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages