Learn Elixir & Phoenix

ElixirCasts makes it easy to learn how to build applications with Elixir and Phoenix

Watch or Read

The best of both worlds. Every episode includes a video tutorial and a full transcript.

200+ Episodes

Every episode delivers hands-on, real-world examples you can use.

Stay Current

Continually updated with episodes that showcase the latest in the Elixir ecosystem.

Latest Episodes

episode image

Alchemist's Edition

#84: JSON:API Pagination

In this episode we’ll learn how to paginate JSON API results according to the JSON:API specification using the JaSerializer package.

2m 37s
Watch Now →
episode image

Alchemist's Edition

#83: JSON:API with JaSerializer

In this episode we’ll update an existing JSON API to follow the JSON:API specification. To help us, we’ll use the the JaSerializer package.

7m 35s
Watch Now →
episode image

#82: JSON API with Phoenix 1.4

This episode is a great introduction for anyone wanting to build a JSON API with Phoenix. We’ll build a simple read-only API for an existing Elixir application.

9m 8s
Watch Now →
episode image

#81: Building Structs from External Data

Here we’ll see how structs can be used to format data. We’ll start with an introduction to structs and then explore different ways to map external data to a struct, including using the ExConstructor package.

4m 49s
Watch Now →
episode image

Alchemist's Edition

#80: Proactive Caching

In this episode we’ll use proactive caching with Cachex. Proactive caching can help ensure there is never a cache miss since data is loaded when the application starts.

6m 42s
Watch Now →
episode image

Alchemist's Edition

#79: Caching with Cachex

Here we look at how to use Cachex to create a cache in an Elixir application. We’ll start by seeing how to interact with Cachex and then we’ll implement a simple cache in our application.

9m 33s
Watch Now →
episode image

#78: Phoenix Contexts

Phoenix contexts are modules that group associated functionality. To see how they work, we’ll build a simple blog with comments. This is a great episode for anyone new to Phoenix or wanting to see how contexts work.

10m 40s
Watch Now →
episode image

Alchemist's Edition

#77: Validating API Parameters Part 2

In this episode we’ll explore another way to validate API params. We’ll update our existing example to use the Params package, which reduces much of the boilerplate of defining Ecto schemas and changesets.

5m 21s
Watch Now →
episode image

Alchemist's Edition

#76: Validating API Parameters Part 1

In this episode we’ll see how we can validate API parameters . We’ll take a simple search API and use schemaless Ecto changesets to validate the request parameters.

7m 36s
Watch Now →