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
- type generation on same columns in table
is there way to prevent this ? or only need to update column name like table prefix?
- Unable to send verification email
Hi! I’m trying to access my project on Appwrite Cloud (fra.cloud.appwrite.io), but I keep getting this popup saying: “To continue using Appwrite Cloud, please...
- Converting circularstructure to JSON
Hello 👋, when this will be fixed on Appwrite Sites? It's draining our quotas for Sentry, it must be a problem with the default logger which is always on for Ap...