Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Laravel User Follow System - PROJECT
Rating: 4.8 out of 5(18 ratings)
1,072 students

Laravel User Follow System - PROJECT

Learn to create a follow up system with the best PHP Framework, Laravel
Last updated 11/2019
English
English [Auto],

What you'll learn

  • Student will be able to create a Follow system

Course content

1 section13 lectures1h 30m total length
  • Introduction about Instructor10:03

    Edwin Diaz introduces himself as an instructor with over 300,000 students and a passion for web development, free education, and practical courses.

  • Course Files0:12
  • First setup and Database8:27

    Set up a fresh Laravel project, connect the database, and configure a follow system with a package. Publish, migrate, and seed faker-generated users.

  • Routes and Model Setup9:26

    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.

  • Setting Controller6:12

    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.

  • Creating a Users List6:33

    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.

  • Adding some Methods to the Users List and Using It7:12

    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.

  • Creating the User Page8:17

    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.

  • Writing the JavaScript Code Part 16:32

    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.

  • Writing the JavaScript Code Part 26:11

    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.

  • Writing the JavaScript Code Part 36:07

    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.

  • Finishing JavaScript Code Part 411:39

    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.

  • Fixing Some Bugs3:29

    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.

Requirements

  • Students should know Laravel

Description

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!

Who this course is for:

  • Students who want to implement a Social Follow System Feature should take this course