How to combine Phoenix LiveView with Alpine.js
No matter how great Phoenix LiveView is, there is still some use case for sprinking some JS in your app to improve UX. For example, tabs, dropdowns,..
Phoenix 1.7 and Bootstrap 5
Even though a large part of the Phoenix community seem to embrace Tailwind, there are still a lot that prefer Bootstrap CSS framework. And with Boos..
Getting Started with Phoenix and LiveView
This guide to getting started with Phoenix covers getting up and running with Elixir and Phoenix. This is a direct conversion of the Getting started..
Add bulk actions in Phoenix LiveView
In this tutorial, I have a list of customers. One common feature for a table of records is to perform some sort of bulk actions. As an example in th..
Setup Stripe with Phoenix LiveView
In this tutorial, I will go through how I setup Stripe payments with Phoenix and LiveView to make your app prepared for accepting payments. The tuto..
Table sorting with Ecto and LiveView
A very common or even mandatory feature in e-commerce stores is the ability to sort a list of products by attributes. This is easy enough and a good..
Fuzzy find with Ecto in Phoenix LiveView
Fuzzy find is both a simple and a complex thing. Even though though it's simple to implement, its hard to get right from a UX perspective. Luckily, ..
Phoenix Presence with Phoenix LiveView
A lot of apps have some sort of notification on if users are online or not. Phoenix makes it easy to build that with the built in Phoenix Presence. ..
Getting started with GraphQL and Absinthe in Phoenix
In the last tutorial, there I had an app with a simple rest api that was authenticated with Guardian and Json Web Token. In this tutorial, I will go..
Combining authentication solutions with Guardian and Phx Gen Auth
Many web apps have both a web interface and an Json api. When the normal web app has a classic session based authentication, an API need something l..