Subscribe for only $15 to access all of our content

#76: Validating API Parameters Part 1

In this episode let’s see how we can validate data that doesn’t have an associated schema. To start let’s take a quick look at the application we’ll be using. Here we have a Phoenix API search route that our users can use to query for an album that’s in our database.

When a new request is made, we want to validate the params so that we can lookup an album and return it…

Join to Subscribe

More Episodes

#111: Session Testing with Elixir

Often when testing Phoenix controllers you’ll need to initialize the session with data. In this episode we’ll learn how to do just that using the Plug.Test module.

Watch episode

#110: Job Processing with Oban

Oban is a job processing library that uses Postgres. In this episode we’ll add Oban to an existing Elixir project and use it to move some work to the background.

Watch episode
Alchemist's Edition

#109: DynamicSupervisor and Registry

In this episode we’ll pick up where we left off in #108 and refactor our application to create a process for each user shopping cart. To do this we’ll use DynamicSupervisor and Elixir’s Registry.

Watch episode