7 Articles
An elderly wizard, looking desperate as he tries to block out the intense singing of the phoenix. The scene captures his overwhelming distress in a vivid and colorful setting.

Handle Phoenix Exceptions gracefully

Silence the noisy Phoenix.NotAcceptableError and Plug.CSRFProtection.InvalidCSRFTokenError exceptions in your Phoenix application by implementing the Plug.Exception protocol for them.

A wizard catching an elephant that flies through the air, forest landscape in the background, digital art

Test an external, read-only Repository in Phoenix

When your application connects to an external database in read-only mode, it becomes difficult to write proper tests for it. This post explains how to set up a simulated external database locally to make testing becomes easy again.

an old wizard killing a phoenix with a sword, digital art

Kill your Phoenix Context

Phoenix Contexts often become a dumping ground for code that doesn't have an obvious place. Learn how to organize your code using services, finders, and repositories.

a phoenix showing his id card to a security person at a club

How to implement U2F Authentication with Phoenix LiveView

Arguably, the strongest multi-factor authentication method is U2F. Here is how to integrate it with your Phoenix LiveView application.

a phoenix flying against a purple hot air balloon

How to deploy a Phoenix project with allows you to quickly deploy a Phoenix application in different regions in the world. Here is how to get started.

How to set up a Reverse Proxy with CloudFront, Lambda@Edge and Phoenix

Route traffic based on the path of a URL using AWS CloudFront and Lambda functions. A complete how-to using Phoenix servers.

State Management with Phoenix LiveView and LiveEx

Writing code is fun, but nothing tops seeing your code moving things in the real world. That’s why I tested out the Nerves library.