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
- Costom domain Issues
Hi Appwrite team We’re having issues verifying a custom domain. We added the required CNAME and CAA records to our DNS provider and waited for at least 2 days a...
- No domain visible after creating functio...
Saw this in docs yet i have no domain (Pro): ``` Generated domains In the Appwrite Console's sidebar, click Functions. Under the Domains tab, you'll find the g...
- Free plan Usage
I using a free plan with one organization. I have three projects but on the free plan I should be able to have 2 projects running But in my case only 1 out of ...