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
cp .env.dist .env
make build
Export CSV | Notification center |
---|---|
Login: localhost:8080
Notification: http://localhost:8080/app/notifications
- Login:
demo-1
, Password:demo-1
- Login:
demo-2
, Password:demo-2
- Login:
admin
, Password:admin
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 tool: http://localhost:9000/.well-known/mercure/ui/
- Upload postman collection postman/
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 |