Symfony 5 Real-time Chat App - Mercure [Part 3\4] (OUTDATED, READ DESC)

Published: 04 May 2020
on channel: OverSeas Media
13,010
83

This tutorial is outdated, most of will work just fine except for one thing they changed in a new update, When creating a new Update in the video i passed three options, the first was an array of topics, that has not changed, the second was the data, that remains as well unchanged, the third option however is the one that changed, it used to be an array of targets, now it's just a boolean, this parameter by default is set to false, which means this is a public update, but in the case of my video this needs to be true because the message is going to a certain guy and not everyone.

Important note, if you get a cors headers problem just add http:// to the CORS_ALLOWED_ORIGINS option when running the binary, the url will look like this "http://localhost:8000"

This video will be the third out of four videos covering how to make a real time chat application using Symfony5, Mercure and Vuejs.

This videos covers the following:
Install and configure the mercure server.
Generating a JWT token for the users in a cookie.
Expose the Link headers for discovery.
Publish to multiples topic and also to specific targets.
Github repository (commit): https://github.com/konshensx16/mercur...

If you have any questions please let me know in the comments or via email.


Watch video Symfony 5 Real-time Chat App - Mercure [Part 3\4] (OUTDATED, READ DESC) online without registration, duration hours minute second in high quality. This video was added by user OverSeas Media 04 May 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 13,010 once and liked it 83 people.