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
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...