
When using Node.js Appwrite with Next.js:
Based on the documentation and community feedback, it seems like node-appwrite
isn't very mature yet. It struggles with server-side rendering (SSR), especially with user authentication in middleware.
I've also seen recommendations to use the Appwrite web client instead of the server SDK. Some say that making SSR work requires hacks like changing the cookie host, setting up proxies, and other workarounds.
Most tutorials (except for Appwrite’s own) use the web client instead of node-appwrite
, which makes me wonder if it's just a lack of knowledge causing people to avoid the Node.js version.
Is this accurate? If so, can we use both and rely on the server SDK only when the web client isn’t enough?
Thanks for the clarification.
Some references:
Recommended threads
- Cannot access my Appwrite database on th...
Hello guys, I am currently developing a web app and using appwrite for authentication, database, storage and messaging. It was working well but since yesterday...
- Nuxt Middleware Support
So I'm trying to protect some routes so that the user is redirected back to the login screen should they not have an active session. However, I'm stuck in a lo...
- Sites Problem
Hi, I keep getting this problem when deploying my site. I have already made sure the site is active which it is. It even shows the preview of my site but when ...
