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
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...
- apple exchange code to token
hello guys, im new here 🙂 I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...