Create Auth hook - Session-based authentication, Login & Logout | Laravel REST API and Next.js #7

Опубликовано: 28 Май 2026
на канале: AngelJay Academy
10,025
78

In this video, we will add to our custom Authentication hook, login and logout functionality.

Support me:
Patreon -   / angeljayacademy  

Join this channel to get access to perks:
   / @angeljayacademy  

Useful Links:
Laravel Docs - https://laravel.com/docs/9.x
Sanctum - https://laravel.com/docs/9.x/sanctum
Next.js Docs - https://nextjs.org/docs
Install Tailwind CSS - https://tailwindcss.com/docs/guides/n...
Prettier Docs - https://prettier.io/docs/en/install.html

Auth packages:
Laravel Breeze - https://github.com/laravel/breeze-next
Next Auth - https://next-auth.js.org/

Playlists:
Laravel REST API Course -    • Laravel REST Api  
Next.js Crash Course -    • Next.js Crash Course  

Timestamps:
00:00 Introduction
00:25 Session-based auth explanation
01:30 Add Login
06:07 Add Logout
07:24 Add useEffect()
09:39 Outro

#Laravel
#NextJS
#RESTAPI