Blog for share my learning experience as software developer since 2016.

Phoenix Simple App using Web Sockets

Hi! This post is for explain how to create a simple application with Phoenix and Elixir using Web Sockets. Web Sockets The Web Socket protocol based on TCP produce a bidirectional communication between client-server app, and it doesn’t need to use HTTP protocols. I created a phoenix project without ecto mix phx.new sampler --no-ecto for show a simple connection using web sockets. Create the two-way communication For start, we have to create the communication through the web socket.