Hi guys,
this may sound as a stupid question, but I am really at a loss here. I admit I am a novice.
I have a simple CRUD web app built on NextJS, where some actions are performed by the user and some others by the servers. For example, the user registers through a multi field form. On the client side, the user info goes into auth. And the server is supposed to create a document in the collection for the user.
I am surely implementing the logic or understanding something wrong, because in local everything works just fine, but when I deploy to Vercel or Netlify, the server side seems not to respond to the requests. And the whole program just stops.
Taking the example of a form. As the user submits it, I want to use account.create with the email field and the password field (even though I guess this is also possible with the Server SDK). Afterwards I want all the fields to become part of the document in a collection of the db, therefore I use the Server SDK.
How should I set it up?
Thank you a lot
Recommended threads
- Cannot Update Empty oneToMany Relationsh...
Appwrite's `updateDocument()` API cannot update an empty oneToMany relationship array. When attempting to update an empty relationship with a single-item array,...
- Domain Verification Failed - Fastly Conf...
I am trying to add my subdomain api.getmyself.app to my Custom Domain, but I keep getting the error: Domain 'getmyself.app' is owned by another customer I have...
- Data not loading at the frontend
My App that has been working for weeks, ain't loading anything at the frontend anymore. I thought maybe the API key expired but it's not the case. Users are log...