Subscribe for only $15 to access all of our content

Web App with OTP

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.

Alchemist's Edition

#98: OTP backed Web Application Part 1

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.

Watch episode
Alchemist's Edition

#99: OTP backed Web Application Part 2

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.

Watch episode
Alchemist's Edition

#101: OTP backed Web Application Part 3

In part 3 we’ll create a schema for our coin data so that we don’t lose data when we restart our app.

Watch episode
Alchemist's Edition

#102: OTP backed Web Application Part 4

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.

Watch episode