Level Up Your Next.js Web Apps: Complete Clerk.js Authentication Tutorial for Next.js Developers!

Опубликовано: 29 Сентябрь 2024
на канале: Mafia Codes
3,027
73

In this video we will learn about #authentication in #nextjs using #clerk.

--------------------------------------------------------------------------
📦FREE $100 credit @Digital Ocean: https://m.do.co/c/3208f08b3324
--------------------------------------------------------------------------
Subscribe: https://www.youtube.com/c/yourstruly2...
--------------------------------------------------------------------------
💵Support the channel:
Paypal: https://www.paypal.me/trulymittal
Patreon:   / trulymittal  
--------------------------------------------------------------------------

0:00 Introduction
0:25 Creating an app inside Clerk dashboard
1:37 Setting up Nextjs
3:52 Sign-in Sign-up rotes
8:03 Protecting pages using middleware
9:30 User Button component
12:08 Public pages
13:08 User profile component
14:12 Sign-in/Sign-out button
16:13 Getting userId and user object
19:34 Client component useAuth()
22:16 Protecting API routes
25:22 Condition rendering of items depending on auth state
27:29 Customising appearance

======================
✔ Other useful Playlists
======================
#RestAPI (#NodeJS and MongoDB):    • REST API using NodeJS and MongoDB  
#API Authentication using #JWT:    • NodeJS API Authentication (JWT's)  
#Firebase:    • Firebase | Build a Notes App  
Docker:    • Docker  
MongoDB:    • Learn MongoDB in 50 minutes (Crash Co...  
Html/Css/Js:    • HTML / CSS / JS  
Android:    • Android  
Challenges:    • Challenges  

#mafiacodes #yoursTRULY #tutorial #howto #nodejs #android