You know about GenSevers, you've heard about Phoenix, but you're not quite sure how they can work together to create a web application.
This series was made for those wanting to bridge that gap. In it we'll build a web application that tracks the prices of different cryptocurrencies. We'll start by fetching data from an API and managing that state in a GenServer.
We'll then add an interface with Phoenix and persist data to the database so it's not deleted when we restart our application.
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.
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 3 we’ll create a schema for our coin data so that we don’t lose data when we restart our app.
In the final part of this series we’ll use Phoenix Channels to improve the UI so that our coin tracker page updates automatically when a new cryptocurrency price is found.