Like Button | Build Blog with Laravel, Livewire & Filament #10

preview_player
Показать описание
Welcome to our laravel blog project series, in this comprehensive series we will build a blog from scratch using livewire 3 and filament 3.
Today we are going implement our like button using livewire.

We will cover how to install and customize jetstream, create layouts, setup database migrations and models, display posts, use livewire 3 to create dynamic components without page reloads and more.

Next Episodes (Playlist):

Html Template :

Project Code :

Filament Documentation :

Free Livewire 3 Course Playlist :

Livewire 3 website :

If you would like me to make more livewire videos, please let me know by liking the video and commenting what you like to learn next.

What is livewire:
Livewire is a full-stack framework for Laravel that makes building dynamic interfaces simple, without leaving the comfort of Laravel. (Taken from Livewire Documentation)
Рекомендации по теме
Комментарии
Автор

Laravel Jindabad... Long live Laravel... and all the channels n community supporting the eco.. Luv to all and Yelo

agneldominique
Автор

i do enjoy every moment of your videos from start to finished

sam-jzy
Автор

Eloquent's toggle method simplifies the process of checking if the user has liked the post and then attaching or detaching accordingly. Becomes simply

thejeffrey
Автор

I always look forward to your tutorials. Thank you

georgechitechi
Автор

Enjoy the love from your YouTube family ❤❤❤❤

WEESPlayzZz
Автор

Hello and
Thanks for your beautiful videos
I wanted to know if I want my comments to be liked, how to create a like morph table so that I can save the ID of the person who likes, also when someone moves the mouse cursor over the like icon, for example, the names of the last 5 people who liked show it
I would be grateful if you could guide this newbie

hamedgholamy-zpjs
Автор

Hy yelo check exists() create too many duplicate queries !!!!

select
exists(
select
*
from
"posts"
inner join "post_like" on "posts"."id" = "post_like"."post_id"
where
"post_like"."user_id" = 1
and "post_id" = 1
) as "exists"

i search where is the problem ^^

lanDiii