From the course: Extending Laravel with First Party Packages
Unlock this course with a free trial
Join today to access over 22,600 courses taught by industry experts.
Create a blog comments system
From the course: Extending Laravel with First Party Packages
Create a blog comments system
- [Instructor] All right guys, welcome back. So we are going to be working on creating a Blog Comments System right now in this video, and I know it might seem like a little bit of a review, but that's okay, it's actually going to be like a small little comments API, and we're going to need this to be setup so that we can start blazing ahead with Laravel Echo, so I want to get this out of the way first. I know it's a review for a lot of you, but it might cover some stuff that you haven't seen before, like working with an API and API routes, and so, I think it'll be good to just to kinda see what's going on and I want to create it, because we're gonna be working in these pages throughout all the rest of the videos in this section, so I just want to kinda go on screen and cover all this material. So, we're gonna start off by allowing users to create comments for blog posts. We're gonna save those via the API, so those are gonna be API endpoints. Our comments are going to have a…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
(Locked)
Configure and install Laravel Echo10m 15s
-
(Locked)
Set up a Pusher account3m 59s
-
(Locked)
Create a blog comments system7m 53s
-
(Locked)
Create a presence channel for blog posts8m 31s
-
(Locked)
Listen to an Echo channel and upgrade room count6m 33s
-
(Locked)
Add authentication to the presence channel10m 41s
-
(Locked)
Accessing subscriber information within a presence channel9m 38s
-
(Locked)
Live updating comments8m 3s
-
(Locked)
Getting all comments11m 41s
-
(Locked)
Submit new comments9m 25s
-
(Locked)
Debugging comment submissions8m 27s
-
(Locked)
Creating an event for new comments8m 54s
-
(Locked)
Listening to the event13m 7s
-
(Locked)