I don’t understand why I would need to create a Platform on appwrite.
Is a Platform a server side concept? I see you can create an API key for it and since API keys should be used serve side since they would be exposed in a react app.
When would I need to use a Platform.
Would it be possible to explain it in a todo app example?
If you want to create a todo list you need to sign up and sign in.
If you want your todo application to be able to talk to your appwrite instance you'll need to add it as a platform.
So for example, if you have todo-app.com, you'll want to add a web platform with the hostname of todo-app.com.
Basically, it’s for security - only frontend applications specified as a Platform can talk to your Project
and API keys are used with server SDK.
but i just now did this quickstart https://appwrite.io/docs/quick-starts/react and didnt create a platform and was able to create an account and all that
So you didn't do step one in the quick start?
Are you on localhost? I believe localhost works without a Platform
ill run my app on vercel and see if it breaks
ok so my vercel app got hit a CORS error
so cool
Recommended threads
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...
- > AppwriteException: The requested servi...
When trying to read or write from my database I get the following error: > AppwriteException: The requested service is disabled. You can enable the service from...