How to Get User IP Addresses in Phoenix LiveView
Learn how to reliably obtain user IP addresses in Phoenix LiveView applications, whether you're deploying directly or behind a reverse proxy. We'll explore both peer data and header-based approaches.
No articles found.
Learn how to reliably obtain user IP addresses in Phoenix LiveView applications, whether you're deploying directly or behind a reverse proxy. We'll explore both peer data and header-based approaches.
This article is about setting up a CI pipeline for an Elixir application using GitHub Actions. We'll cover installing dependencies, running tests, and checking code formatting, as well as publishing hex packages and building Docker images as part of the pipeline.
Adding real-time functionality is often a challenge, but in Phoenix we already have built-in functionality to make our application live. We dive into how LiveView and Phoenix Presence can be used to build a real-time user count.
This is about why Elixir and Phoenix were chosen over a static site generator to build this website, along with explanations and code examples of how some interesting features work in detail.