LetsGetTechnical / gridiron-survivor

https://gridiron-survivor-letsgettechnical.vercel.app
4 stars 1 forks source link

User DB collection w/ Appwrite Funcs #152

Closed choir27 closed 3 weeks ago

choir27 commented 4 weeks ago

Using Appwrite Functions, implemented code that received a POST request, and upon hearing that POST request, would successfully store the given user data into the created user DB collection.

Also since Appwrite Functions already includes env variables inside of the Appwrite console, there was no need to place any of the env variables in the code for this to work successfully.

Successful POST execution Screenshot 2024-04-22 204824

User data sucessfully stored in DB collection Screenshot 2024-04-22 204712

Appwrite function successfully created Screenshot 2024-04-22 205016

appwrite[bot] commented 4 weeks ago

Your function deployment has failed. Please check the logs for more details and retry.

Project name: Gridiron Survivor Application Project ID: 6616ea581ef9f5521c7d

Function ID Status Action
userAuth 6626fef885a9f630442b failed Failed View Logs

Only deployments on the production branch are activated automatically. If you'd like to activate this deployment, navigate to your deployments. Learn more about Appwrite Function deployments.

💡 Did you know? You can use Avatars API to generate QR code for any text or URLs

vercel[bot] commented 4 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
gridiron-survivor ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 4:43pm
gridiron-survivor-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2024 4:43pm
shashilo commented 4 weeks ago

Set a cron job for it, or figure out if it can do it when the DB detects a new record.