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.
Learn how to implement the Web Share API in your Phoenix LiveView application. This article will show you how to create a custom Phoenix LiveView hook to seamlessly share content, improve the user experience, and increase engagement.
This article shows how to parse MDEx generated HTML into a nested data strcuture that is used to build a table of contents component for a Phoenix blog.
Tabler Icons is one of the most popular icon library. This article shows how to integrate the icon library into Phoenix projects. We track the Tabler Icons source repository using Mix and use the Tailwind CSS plugin feature to build an icon component.
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.