Real-time Chat implementation in Web and Api's in phoenix elixir

I have developed simple app using elixir phoenix for both web and mobile app(Android and IOS) via API. Now i need to integrate Real time chat to my application. Which is the best and easiest way to do this in elixir with phoenix??

Using phoenix channels, probably.

Real time chat with Phoenix Channels is the “Hello, World!” of the Phoenix world. Simply search the web. The prototypical example is probably:

But honestly if you search the web for “Phoenix Channels, chat server” you’ll get five or six tutorial articles right at the top.

1 Like