Laravel Crash Course
This is a Laravel crash course that covers installation, authentication, routes, data, pagination, email functionality and much more
– Visit Codecourse for more videos & courses by Alex:
https://codecourse.com
– YouTube Channel:
https://www.youtube.com/channel/UCpOIUW62tnJTtpWFABxWZ8g
– Code:
https://github.com/codecourse/posty-traversy-media
– Social Links:
Tweets by teamcodecourse
Tweets by alexjgarrett
– Links mentioned in course:
Composer (https://getcomposer.org/)
Laravel documentation (https://laravel.com/docs/8.x)
Laravel debugbar (https://github.com/barryvdh/laravel-debugbar)
Tailwind (https://tailwindcss.com/)
Mailtrap (https://mailtrap.io/)
Timestamps:
00:00 Introduction
01:49 Demo
04:23 Installing and setting up Laravel
07:08 Routes, views and layouts
10:35 Laravel Mix and Tailwind
15:18 Styling the layout
17:35 Running migrations
22:57 Registering users
44:06 Signing in after registration
46:46 Authenticated state
48:30 Logging in
53:47 Logging out
57:52 Middleware
01:06:12 Post form
01:09:26 Setting up posts
01:16:06 User/post relationship
01:18:49 Creating a post
01:20:14 Listing posts
01:27:37 Pagination
01:30:31 Seeding with model factories
01:33:54 Liking and unliking posts
01:48:50 Eager loading
01:53:40 Deleting our posts
01:56:46 Authorization
02:02:47 User profile page
02:06:49 Blade components
02:10:54 Like count Eloquent relationship
02:12:41 Single post page
02:14:18 Sending email
02:21:23 Soft deleting models
02:26:31 Final tidying
02:28:20 Wrapping up
source