I was creating an API using nextjs Can I use sdk for USER API of appwrite in next js because I don't think we can use the node-js sdk for the same.
To access the Users API you would have to use the server side - node sdk.
You'll just need to make sure that you put your API key in you .env.local
file.
https://nextjs.org/docs/basic-features/environment-variables#loading-environment-variables
Doing so will make sure that the key is not exposed to the end user
okay thanks for the info
Hi @Pradip Chaudhary , in case you need help with examples/source code: https://github.com/appwrite/awesome-appwrite
Recommended threads
- Trying to Figure out how to delete a use...
If i have a button in an app that allows a user to delete their account, can I not just call a function from my swift app to Appwrite to have the account delete...
- Expected a value of type 'bool', but got...
I am trying to get current User, but get this error message when I do. I get back user prefs, but error comes from trying account.get() So I am getting User. I ...
- Problem accessing api via local host.
I think i set the Endpoint correctly in my config.ts als the cloud.appwrite url but when i try to create a user I get this Error message: Access to XMLHttpReque...