Skip to content

stillzombie/larabank-aggregates

 
 

Repository files navigation

Larabank built with an aggregate and projectors 📽

Larabank accounts page

This is an example app used in the documentation of laravel-event-projector.

These rules are implemented:

  • a user cannot go below -5000 on an account
  • when hitting the limit three times in a row a loan proposal mail must be sent

Getting started

  • Clone the repo
  • copy env.example to .env
  • set the DB_ environment variables in .env to your liking
  • create a database with the name specified in DB_DATABASE
  • composer install
  • yarn, yarn run dev (or the npm equivalents)
  • migrate and seed the database with php artisan migrate:fresh --seed
  • you can now loging in with user "[email protected]", password "secret"

Credits

Support us

Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.

Does your business depend on our contributions? Reach out and support us on Patreon. All pledges will be dedicated to allocating workforce on maintenance and new awesome stuff.

License

The MIT License (MIT). Please see License File for more information.

About

Larabank built with aggregates and projectors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 86.5%
  • HTML 13.1%
  • Vue 0.4%