
Edwin Diaz introduces himself as an instructor with over 300,000 students and a passion for web development, free education, and practical courses.
Set up a fresh Laravel project, connect the database, and configure a follow system with a package. Publish, migrate, and seed faker-generated users.
Learn to build a Laravel user follow system by configuring the model with a follow trait from a package, and setting routes and ajax handling with jQuery.
Set up the home controller to display all users and individual profiles, and implement an ajax powered toggle follow that records follows in the follows table.
Develop a reusable front-end user list component using Bootstrap cards and tabs to display each user's name, age, follower count, and follow actions, with a focus on avoiding code repetition.
Assigns a reusable user list to a Blade view, displays each user's name, following and follower counts, and toggles follow actions based on following status.
Create the user page in Laravel by building the user blade, wiring the route to the user ID, and rendering dynamic followers and following in a bootstrap card layout.
Hook up ajax calls in a Laravel app by detecting click events and sending data to the database, with csrf headers, and wire the javascript file to the home page.
set up a click handler on the follow button, extract the user id from data attributes, parse it as an integer, and increment the current follower count.
Implement ajax-based follow and detach interactions in a Laravel user follow system by sending post data to a route, handling json responses, and updating the follower count and UI elements.
Implement follower and following counts on the user page, wire dynamic avatars from a public images directory, and refine the profile view to show names and images for each user.
Fix bugs in the Laravel user follow system by updating logic to reflect two followers, adjusting card margins, and ensuring the follow button remains inside the card.
Hi dear reader and future student, I created this course for those wanting to learn how to make their current laravel apps more sociable. In this course you will how to implement a follow system that will add more interactivity between users in your current or future app but at the same time show you how to add more features.
We start with version 5.7 of laravel on this course but once you know how to do it, you can implement it to any version you desire, as long as you know how its done and that is why I'm here; to teach you how to do it.
Come join me in this small adventure!