Next.js Authentication Tutorial using React Context API and Appwrite

preview_player
Показать описание

**GIVEAWAY**
5 FREE Appwrite t-shirts 👕 To enter:

2. Share on Twitter with #jqqmemes OR share the link in the comments below!

**SPONSORED BY APPWRITE**

**QUESTIONS ABOUT MY SETUP**

**STAY IN TOUCH 👋**

**DISCORD**

**Timestamps**
00:00 - Intro
00:20 - What We'll Build
01:10 - Starter Code and Requirements
03:40 - Giveaway
04:50 - Why the Context API in React
06:15 - ChatGPT to Create React Context and Hook
11:05 - Update User Hook with Appwrite
17:05 - Creating New Appwrite Project
18:40 - Configuring User Provider
19:45 - Testing Authentication Methods
21:20 - Showing Content Based on Authenticated User
Рекомендации по теме
Комментарии
Автор

But how you can to use useEffect in server component

abdellahbecherair
Автор

would be cool to see how this works in sveltekit. I've been waiting for the cloud services for a while now

adrianfr
Автор

Hi sir can you create a separate playlist on next Js projects

shayanalijalbani
Автор

When using this approach the app instantly becomes complete client side, right? Because when use useContext() u are baically invoking a hook at the top-level of the application or am I wrong?

antoniors
Автор

That's a really bad way to implement protected routes.

benemma
Автор

James, my man. Do you have the complete code for this? Great content by the way

MarcelRezende