Subscribe for only $15 to access all of our content
Testing is an essential part of software development. In this episode we’ll get an introduction to testing in Elixir using the ExUnit test framework.
Often you’ll have sensitive information that you don’t want to show up logs. In this episode we’ll see how to configure Phoenix to specify what parameters you want filtered in your logs.
In this episode we’ll explore one way to use Phoenix to create a nested form that saves an associated record in our database.
In part 3 of our series we’ll broadcast album changes to all clients using Phoenix.PubSub and Phoenix LiveView.
In part 2 we’ll use Phoenix LiveView event bindings to dynamically render a form and save changes to the database. Our form will be validated using a changesets coming from LiveView.
In part 1 we get started by installing Phoenix LiveView and setting it up to work with an existing Elixir Phoenix application. Then we’ll update a page to render data using LiveView.
Now that we have our application generating API keys, we need to validate incoming API requests. In part 2 of this series, we’ll create a plug that validates the API key used.
There are many different ways to authorize API requests. In part 1 of this series we will setup an Elixir application to generate an API key we can use to authorize API requests with.
In this episode we’ll learn how to paginate JSON API results according to the JSON:API specification using the JaSerializer package.
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.
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.
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.