Skip to content
Larabank built with aggregates and projectors
Branch: master
Clone or download
freekmurze Merge pull request #2 from JSellis/master
Fix typo's in loan proposal mail view
Latest commit 325c841 May 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app wip Apr 16, 2019
bootstrap wip Apr 6, 2019
config update package Apr 16, 2019
database
docs
public wip Apr 6, 2019
resources Fix typo's in loan proposal mail view May 8, 2019
routes wip Apr 6, 2019
storage wip Apr 6, 2019
tests wip Apr 6, 2019
.editorconfig wip Apr 6, 2019
.env.example wip Apr 6, 2019
.gitattributes wip Apr 6, 2019
.gitignore wip Apr 6, 2019
.php_cs
README.md Merge branch 'master' of github.com:spatie/larabank-event-projector-a… Apr 7, 2019
artisan wip Apr 6, 2019
composer.json wip Apr 16, 2019
composer.lock wip Apr 16, 2019
package.json wip Apr 6, 2019
phpunit.xml wip Apr 6, 2019
server.php
tailwind.js wip Apr 6, 2019
webpack.mix.js wip Apr 6, 2019
yarn.lock wip Apr 6, 2019

README.md

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 "user@larabank.com", 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.

You can’t perform that action at this time.