Subscribe for only $15 to access all of our content

#83: JSON:API with JaSerializer

Here we have our Record Store application that lists a few albums. In addition to our pages here, we have a JSON API similar to what we created in episode 82.

Our API works great for viewing all of our albums and their associated categories and we can use an album’s ID to fetch a single album from our API. However, you could make an argument for formatting the data here in different way.

JSON:API is a specification for building JSON APIs and in this episode we’ll see how we can update our existing API to follow the specifications that it provides.

To update our API we’ll be using the JaSerializer package. JaSerializer makes it simple for Elixir applications to generate JSON:API compliant JSON.

The first think we’ll need to do is…

Join to Subscribe

More Episodes

#100: Multiple Room Chat Application

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.

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

#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