Dive into Docker takes you from "What is Docker?" to confidently applying Docker to your own projects. It's packed with best practices and examples. Start Learning Docker →
More specifically a bare bones health check and another separate check that connects to databases and other services you might have.
We're going to look at a Phoenix LiveView app for this example but this applies to any web app using any web framework.
We'll compare the MD5 hash of the source and dest files and only copy files that changed. The plugin is available on NPM's registry.
Tailkit has 300+ responsive TailwindCSS UI components, layouts and pages. We'll go over how I'm using it in a few projects.
Here's a few patterns I've picked up based on using Docker since 2014. I've extracted these from doing a bunch of freelance work.
José Valim and I asked developers how they would solve a specific problem in their language of choice. How would you do it?
In this video we'll use Tailwind's JIT compiler to go from 3-6 second Webpack update times to 100-200ms without Webpack caching.
Go from 5+ second startup and 3+ second CSS reload times to 300ms and 150ms with a few config changes.
In this video, we'll go over how to set up a health check endpoint in Flask and use the free UptimeRobot service to monitor your uptime.
In this video, we'll loop over data coming in from the back-end and display it in a responsive multi-column layout.
In this video, we'll go over using a script to make sure your database is ready before running automated tests. Perfect for CI.
Here's a number of questions you can ask yourself and tools you can use to help improve the quality of your code.
In this video I go over testing and documenting the features of an audio player but the steps taken could be applied to any code base.
Over the years I've learned a few languages / web frameworks and recently picked up Elixir / Phoenix. Here's what I've learned.
In this 15 minute video, we go over 1 way to quickly break down a UI feature which happens to double as a cheat code for writing tests.
When starting a new job or contributing to open source, learning a new code base can be intimidating. Here's how you can jump in quickly.
Watch a 90 minute video where I take a new project idea and start breaking it down so you can see how to do it for your own apps.
Being able to create dozens or thousands of records to populate your database in development has a lot of advantages.
I'm no where near an Elixir veteran but I found myself refactoring some imperative code into more idiomatic Elixir and it made me happy.
There's lots of ways to debug code, but often times problems become amplified when you can't visualize what's happening.
Let's talk about when it might be a good or bad idea to start using microservices. SPOILER ALERT: it's not the same for every project.
Most web frameworks come with a way to manage database migrations but they can be very tedious to use early on in a project.
Phoenix 1.4 is set to use Webpack but Phoenix 1.3 currently uses Brunch. Here's how to get Webpack working with Phoenix 1.3.
You can use this method with any package manager that has the concept of a lock file to help with dependency management.
Software development is all about problem solving and breaking down problems, let's tackle this problem step by step.
A better user experience is the main reason why I prefer using server side templates instead of just client side rendering.
Like you, I'm super protective of my inbox, so don't worry about getting spammed. You can expect a few emails per month (at most), and you can 1-click unsubscribe at any time. See what else you'll get too.