This is an example about how to use Server-Sent events using symfony/mercure
cd backend
composer install
cd ../frontend/
npm install
make up
cd frontend
npm run dev
Now you can visit the page: http://localhost:8080/
, put your bid and click BID
.
You can see tah the winnerBid will change.