Using Tailwind CSS in Phoenix

Mar 7, 2021

Tailwind has emerged as a compelling utility first alternative to typical CSS frameworks such as Bootstrap. Although it took a little getting used to, I find myself regularily reaching for Tailwind these days and wanted to document the steps I use for setting it up in a new Phoenix project.

Phoenix Authentication with Phx.Gen.Auth - Part 2

Sep 20, 2020

In part 1 we walked thru the installation and customization of Phx.Gen.Auth. In today's post we'll continue with some customizations; we'll add the ability to block user accounts, and we'll implement simple Bamboo email notifications.

Phoenix Authentication with Phx.Gen.Auth - Part 1

Sep 7, 2020

Approximately 6 months ago a new authentication system for Phoenix emerged; Phx.Gen.Auth. In this series of posts we'll set up Phx.Gen.Auth and explore customizing it's functionality and workflow.

Organizing Phoenix Seeds

Feb 2, 2020

Seeding is a common data population technique when running an application during development, or for initializing test data. Phoenix already has us covered when it comes to seeding data, via the seeds.exs file generated when a new Phoenix project is created. This single file works great when dealing with relatively little data. Things can quickly get out of hand as the number of tables and data grows however. In this short post we'll look at one option for splitting out seed data into multiple files.

Setting up a Phoenix CI / CD pipeline on GitLab - part 3

Nov 30, 2019

Last time out, we managed to get a Docker image of our application building on GitLab. Today we'll look at deploying that image via GitLab's Kubernetes integration.