Welcome to the course! In this episode, we kick things off by showing you exactly what we're building: a drag-and-drop sortable list for your Livewire components, backed by your database. We start with a quick demo, so you can see drag-and-drop reordering in action—moving items around updates the order, and even after refreshing the page or checking the database, the new order sticks around!
Next, I give you a quick overview of the tech we're going to use to make all this happen. On the backend, we'll be using a handy package that makes it super easy to update the order of your records with just a single column. For the frontend, we'll set up an Alpine.js plugin using sortable.js, which will work as a directive you can drop into any list in your app. This makes the solution really flexible and reusable—wherever you need reordering, you can just use this directive.
By the end of this episode, you’ll have a clear idea of what we're building, how it works, and what tools we'll use. Next up, we'll start outputting our items in the right order and get into the nitty-gritty of building that plugin. Let's get started!