Playing
02. A fresh Laravel app

Episodes

0%
Your progress
  • Total: 3h 4m
  • Played: 0m
  • Remaining: 3h 4m
Join or sign in to track your progress

Transcript

00:00
The first thing to do is figure out
00:01
how we want to install Laravel. Do we want one of the starter kits, or do we just want a completely fresh application and get Livewire manually installed?
00:09
Now, I'm going to go with the second option and do a completely plain Laravel application and install Livewire manually. But you can go ahead and install something
00:18
like Breeze if you wanted authentication functionality for a little bit later on. So if you are fairly new to Laravel, let's run through the installation process
00:26
and how we get everything set up. OK, so we're going to use the Laravel installer here to create our new project. And I'm going to call this Laravel Booking
00:35
System and Livewire, because we have a couple of other variations of this. And let's go ahead and hit Enter on that. So we're not going to choose a starter kit here.
00:43
For the testing framework, we're going to choose PEST. We're not going to initialize a Git repository, though you can if you want to. And let's just wait for this to run through so we
00:51
can set up our database stuff. OK, so we're going to choose MySQL here. And we are going to run the default database migrations. If you don't already have that table created
01:01
or the database created, then it's going to go ahead and ask for it to be created. And of course, we're going to say yes. OK, so now that this is finished,
01:08
we should just be able to open this up in our text editor. And yeah, sure enough, we've got everything in here ready to go. Now, we've already got the database configured. But if you do need to change anything around, of course,
01:19
head over to your .env file. And you can customize the connection just in here if anything wasn't right. The database name is exactly the same as our project name.
01:31
And if we head over to the database, sure enough, all of them default migrations have been run as well. So we have a project set up and ready to go.
01:39
Let's jump over to the next episode where we're going to go ahead and get Livewire installed, create a base layout, so we've got a nice foundation to start building on.
36 episodes3 hrs 4 mins

Overview

Building an availability calendar and booking system is a notoriously difficult problem to solve. That’s exactly what we’re going to cover in this course.

Step by step, we’ll build an appointment slot generator that calculates availability based on employee schedules, employee’s booked time off, the length of service chosen, existing appointments, and cancelled appointments.

For maximum flexibility, we’ll also allow multi-employee availability checks, so we’ll be able to see every employee who can perform a service (and their available slots).

To finish up, we’ll create an entire booking flow with Livewire, including a beautiful booking calendar that shows detailed availability across multiple dates, the ability to choose a time slot — and finally the ability to book an appointment.

Phew. We’ve got a lot to learn — let’s build a booking system with Livewire!

Alex Garrett-Smith
Alex Garrett-Smith
Hey, I'm the founder of Codecourse!

Comments

No comments, yet. Be the first to leave a comment.