This is a demo app that shows how to implement Event Sourcing in a simple way.
This is not meant to be a secure application, it's just a demo.
We need to migrate the database
composer install
npm install
php artisan migrate:fresh --seed
We need to run the server and vite server.
php artisan serve
npm run dev
First we need to login, change the port to match your system.
After logging in, we are redirected to the verbs version of contact 2.
http://localhost:8000/verbs/contact/2
To see the event sauce version
http://localhost:8000/eventsauce/contact/2
To see the projection version
http://localhost:8000/contact/2
To replay events, we need to run the command
php artisan app:clean-projections
php artisan verbs:replay