Skip to content

Latest commit

 

History

History
executable file
·
71 lines (53 loc) · 2.56 KB

README.md

File metadata and controls

executable file
·
71 lines (53 loc) · 2.56 KB

Build status CI workflow Code Coverage Badge

Asynchronous export with real-time notifications

Demo made with mercure and messenger symfony components

Extract csv data in asynchronous way using messenger and and get real-time notifications about what happened using mercure components

Architecture schema

Installation

cp .env.dist .env
make build
Export CSV Notification center
Live extraction data Notification center

Login: localhost:8080

Notification: http://localhost:8080/app/notifications

Credentials

  • Login: demo-1, Password: demo-1
  • Login: demo-2, Password: demo-2
  • Login: admin, Password: admin

Command

Send a notification with random message with option if you want to push more messages

docker exec -it poc-php-fpm bin/console app:send-notif -i 50

Debugging

Usage

Commands Description
make build Installation
make run Start containers
make shutdown Shutdown containers
make restart Restart containers
make php-fpm Connect php-fpm container
make php-worker Connect php-worker container
make mysql Connect mysql container
make mercure Connect mercure container
make composer Install composer dependencies
make npm install Install npm dependencies
make npm build Build npm dependencies
make rebuild-database Rebuild database
make test Execute phpunit tests
make test-coverage Generate phpunit coverage report in html
make help Show list of commande available

Links