Firstly really appreciate your videos there a massive help thank you! Regarding the index issues the code was all correct and worked when I we debugging I had to put a wait in recommend making all the attributes and relation ships then adding indexes at the end
Mid-november, I am also encountering the error you show when creating the content attribute, and also when trying to create the content index. But luckily (?) the content attribute *was* created; and the web interface allowed me to create the second index as you show.
for indexing await Promise.all([ databases.createIndex(db, questionCollection, "title", IndexType.Fulltext, ["title"], ["ASC"]), databases.createIndex(db, questionCollection, "content", IndexType.Fulltext, ["content"], ["ASC"]), ]); make sure to pass ["ASC"] in capital letters only this will work fine
Hi sir, there is a mistake at 6:05, the middleware will only run for routes/paths for which it matches path in matcher config. For e.g.: if matcher: ['/dashboard'], if matcher only contain 'dashboard' then the middleware will only run for 'dashboard" request path not for any other path. For your case the REGEX has a negative lookahead which will match all path except api and static files and run for all paths except api and static files.
00:02 Introduction to Zustand state management library 01:50 Naming convention for storage setup 05:43 Configuration of path matching in NextJS middleware 08:00 Chad GPT provides detailed path information for API endpoints. 12:09 Troubleshooting attribute creation issue 14:27 Zustand is a simple and straightforward State Management library for NextJS and React. 18:05 Zustand enables persistent data storage 19:50 Creating a Zustand store with persistant storage 23:26 Creating user reputation and preferences 25:21 Creating a generic type 'user' with optional user preferences 28:58 Creating Zustand store and interface definition 30:48 Working with persist method and immer 34:31 Use setter method to avoid mutating state 36:15 NextJS hydrated method simplifies state management 40:19 Implementing session and JWT in NextJS 42:26 Setting reputation for non-existent user 46:38 Creating accounts and handling encryption smoothly 48:45 Deleting session and resetting values for logout
I see yur Nginx upcoming tutorial please can you add video about django and docker with Nginx deployment no one make videos about this topic Looking forward for the next video!!
@Hitesh am I the only one expericing this error when trying to spin up the application : Error creating storage: [AppwriteException: User (role: guests) missing scope (buckets.write)] { name: 'AppwriteException', code: 401, type: 'general_unauthorized_scope', response: { message: 'User (role: guests) missing scope (buckets.write)', code: 401, type: 'general_unauthorized_scope', version: '1.5.8' }
Looking forward for the next video
Zustand Part Start : 15:22
pretty good so far
now i will be learning zustand
Firstly really appreciate your videos there a massive help thank you!
Regarding the index issues the code was all correct and worked when I we debugging I had to put a wait in recommend making all the attributes and relation ships then adding indexes at the end
Zustand Part Start : 15:22
Imports Part : 22:10
interface part : 24:28
Zustand Store Part : 29:48
Mid-november, I am also encountering the error you show when creating the content attribute, and also when trying to create the content index. But luckily (?) the content attribute *was* created; and the web interface allowed me to create the second index as you show.
Looking forward for the next video
Looking forward for the next
Indeed, perfect video at the perfect time. W hitesh
Hey ! Hitesh For me it is worked for creation of indexes nicely and both indexes are created nicely
Awesome
Looking forward for the next video!!
for indexing
await Promise.all([
databases.createIndex(db, questionCollection, "title", IndexType.Fulltext, ["title"], ["ASC"]),
databases.createIndex(db, questionCollection, "content", IndexType.Fulltext, ["content"], ["ASC"]),
]);
make sure to pass ["ASC"] in capital letters only this will work fine
Thanks keep on we are following in this interesting project tutorial
Looking forward for the next video
looking forward to the next video ❤❤
The first time, Sir, you got a little bit angry with the red squiggly lines..............
Like the way you debug ❤❤
looking forward to the next video
Looking forward to next video sir
Well I m new to Zustand and I hope I grab it from here
Today's video was a bit overwhelming, need to watch it again after 15:22
i'm completing all the videos as they publish
Zustand is new to me , itna smj nhi aaya par sun kar acha lga, just kidding , let try out zustand.
great video zustand is indeed a fun lib easy than redux ofc😁
Completed and understood
Hi sir, there is a mistake at 6:05, the middleware will only run for routes/paths for which it matches path in matcher config.
For e.g.: if matcher: ['/dashboard'], if matcher only contain 'dashboard' then the middleware will only run for 'dashboard" request path not for any other path.
For your case the REGEX has a negative lookahead which will match all path except api and static files and run for all paths except api and static files.
Looking forward for the nexr video
Love Zustand.
Thanks a lot sir ❤
Really looking for more stuff
Comment done awesome vids on chai aur code
00:02 Introduction to Zustand state management library
01:50 Naming convention for storage setup
05:43 Configuration of path matching in NextJS middleware
08:00 Chad GPT provides detailed path information for API endpoints.
12:09 Troubleshooting attribute creation issue
14:27 Zustand is a simple and straightforward State Management library for NextJS and React.
18:05 Zustand enables persistent data storage
19:50 Creating a Zustand store with persistant storage
23:26 Creating user reputation and preferences
25:21 Creating a generic type 'user' with optional user preferences
28:58 Creating Zustand store and interface definition
30:48 Working with persist method and immer
34:31 Use setter method to avoid mutating state
36:15 NextJS hydrated method simplifies state management
40:19 Implementing session and JWT in NextJS
42:26 Setting reputation for non-existent user
46:38 Creating accounts and handling encryption smoothly
48:45 Deleting session and resetting values for logout
hey can you please tell me in which directory npm run dev shall be ran, as im not getting console.logs
Looking forward to complete the playlist ....10 nov 2024
15:20 Zustand starting
I see yur Nginx upcoming tutorial please can you add video about django and docker with Nginx deployment no one make videos about this topic
Looking forward for the next video!!
13:40 in promise if we first take content the index is created done
15:24 From here the Zustand Part is started
Thanks ❤️
15 : 21 zustand started
15:00 Zustand
thanks
Comment before premiere of video
15:20 dbSetup done Zustand setup started
matcher allows you to filter Middleware to run on specific paths. It is written in the docs ?
15:21 this is the zustand starting part
15:20 Zustand
tq
❤
Looking for next video
❤❤❤❤
👍
21:25 note the todos
Can you do a zustan video
How We Achieve Server Rendering while Using State Persistence
Hey Hitesh! Copilot or Supermaven ?
Next up ?
pew pew
Sir, u r too fast to catch. Please little bit slow. 28:20
15:13
My comment to complete the comment target
31/07
@Hitesh am I the only one expericing this error when trying to spin up the application :
Error creating storage: [AppwriteException: User (role: guests) missing scope (buckets.write)] {
name: 'AppwriteException',
code: 401,
type: 'general_unauthorized_scope',
response: {
message: 'User (role: guests) missing scope (buckets.write)',
code: 401,
type: 'general_unauthorized_scope',
version: '1.5.8'
}
Looking forward for the next video
looking forward for next video
looking forward to next video
Thanks ❤
Looking for the next video
Looking forward for the next video
looking forward to next video
Looking forward to next video