Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robinmalfait/playground-event-sourcing
EventSourcing playground
https://github.com/robinmalfait/playground-event-sourcing
Last synced: about 2 months ago
JSON representation
EventSourcing playground
- Host: GitHub
- URL: https://github.com/robinmalfait/playground-event-sourcing
- Owner: RobinMalfait
- Created: 2015-01-28T23:51:12.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-01-02T17:55:06.000Z (almost 8 years ago)
- Last Synced: 2023-08-02T19:32:31.039Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 174 KB
- Stars: 14
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Playground: Event Sourcing
This is a little playground where I experiment with EventSourcing. The code should be pretty easy to understand. The whole `program` lives in the `index.php` file.
The code is tested, and documentation can be generated from the tests. I appreciate issues and pull-requests, if anything is unclear or you have questions feel free to ask.## Installation
Do you trust me? (`TL;DR` Oneliner)
```
git clone https://github.com/RobinMalfait/playground-event-sourcing.git && cd playground-event-sourcing && composer install && mkdir database && php index.php && vendor/bin/phpunit
```### Steps 1 by 1
```
git clone https://github.com/RobinMalfait/playground-event-sourcing.git
cd playground-event-sourcing
composer install
mkdir database
php index.php
vendor/bin/phpunit
```## Run program
```
php index.php
```## Test program
```
vendor/bin/phpunit
```### Docs
When you run `vendor/bin/phpunit`, a docs folder will be generated. This has `md` and `txt` versions of your tests.
You can find some generated [docs here](https://github.com/RobinMalfait/playground-event-sourcing/tree/master/docs).