Subscribe for only $15 to access all of our content
Published September 24, 2018
This episode is focused on using Elixir Streams. If you’ve just started learning Elixir and you’re wondering how and why you would want to use streams, this is a great episode to get started with.
In this episode we’ll build a chat application that has multiple chat rooms. The rooms will be created dynamically from the URL and will use Phoenix Channels to provide realtime functionality.
In part 2 we’ll update our application to allow users to add cryptocurrencies from the UI. Once added, we’ll display the cryptocurrency and update pricing every minute using a GenServer.
In part one of this series we’ll lay the foundation for our application. First we’ll see how we can fetch cryptocurrency prices. Then we’ll create a GenServer to store the prices and add it to our supervision tree.