/peer-learning-event-sourcing

A demo app to illustrate Kickstarter's Event Sourcing experiment

Primary LanguageRubyMIT LicenseMIT

Event Sourcing on Rails - Peer learning group

A fork of kickstarter's minimal event sourcing framework example app (based on their blog post) for use with a peer learning group. At outset this repo contains

  • Kickstarter's initial app
  • Rspec for testing
  • Rubocop config to pacify my text editor
  • Grape API

Usage

Some things you can do right now:

bundle
bundle exec rake db:setup
bundle exec rails s

Make some requests

POST http://localhost:3000/api/events
{
    "type": "TodoList::Created",
    "body": {"name": "My todos"}
}

GET http://localhost:3000/api/lists/1

This project is licensed under the terms of the MIT license.