I am using route(server side of the next js) (dumb question )but do I use client or server side package ? If server side , I have to use users creation right ?
Client. If you want the users to create account, use client sdks.
Server sdks give you admin level powers, the api keys shouldn't be exposed anywhere.
But nextjs also has a server side right ?
I highly suggest not making Appwrite API calls server-side because trying to handle the session server side can be a pain
Hi,thanks alot for the suggestion. I have gone with the route of using it in client
Recommended threads
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...
- SyntaxError: Unexpected end of JSON inpu...
I am trying to create a fcm push notification service using appwrite functions with its REST API to invoke that function from my client side app and getting thi...
- Experiencing inconsistent "500 general_u...
I am developing a task management app that uses Appwrite auth. My project is hosted on Appwrite cloud and I've created basic server-side authentication followin...