In this episode, we get the ball rolling by setting up our Laravel app using Breeze, specifically with the Vue and Inertia.js stack. Even if you've done this before, it's a good refresher as we make a few tweaks to the default setup to fit our needs. After installing everything and running our migrations, we register an account and get into the dashboard.
From there, we focus on cleaning up the starter templates. We move logic from route closures into controllers (like creating a HomeController) to keep things tidy. We also rename and simplify our home page, get rid of unnecessary props and content, and strip out dark mode stuff since we won't be needing it. To make it more "ours," we tweak the logo, putting a custom version right in the middle of the home page.
With the basics out of the way, we start setting up our main pages. We replace the default dashboard with routes for our "Videos" index and a "Capture" page for uploading or recording videos. New controllers are created for each, and we update all the links across layouts and navigation to make sure they point to our shiny new pages. Along the way, we do some quick styling to keep things neat and readable.
By the end, we have a simple but solid foundation: a home page, a videos index, and a capture page. The navigation is ready, and everything is styled just enough so we can comfortably jump into the next step: adding video capture right in the browser!