Subscribe to access all episodes. And we see some code has already been populated that imports and connects our socket to the socket path in our endpoint.
Singles by category
Phoenix chats default code also shows how we can channels with a topic. And phoenix chats the app. This will send our event to the server, where it will be picked up by our WaterCoolerChannel.
Great, now we need to save our messages when someone posts one in the chat. Now we can open our index. Search in with GitHub.
Charts with Chart. Accepting Payments with Stripe. Phoenix chats notes Comments.
Elixir 1. UserSocket do use Phoenix. And we see our chat box and form.
We see our schema with our body and name fields. Controller do use ChatWeb, :controller alias Chat. And go back to the browser and post some messages.
Then if we do a quick check of the database - we see our messages are there. And if we go back to our chat and refresh the - we see our existing messages are loaded. Bryan Bryce 3 years ago.
What program did you use to check the database? Alekx 3 years ago.
Phoenix chat rooms: where new relationsip finds you
Hey Bryan, I used Postico. in with GitHub.
Alchemist's Edition. Twitter GitHub.