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
- Github connection error - Self Hosted Ap...
I am trying to connect my github account to deploy a project to sites, but Connect to Gtihub button is disabled. I have configured all Env variables needed for...
- Server Down
Appwrite services are down. When will they start working again?
- Looking for a Partner