**If you're participating in the Appwrite x DEV hackathon and you need some help with your submission, you've come to the right place!
If you have any questions about how this contest works (ex: due dates, how to post your submission, picking a category, etc.) the DEV team will be happy to assist you.
If you are running into issues or get stuck when it comes to Appwrite's self-hosted backend-as-a-service platform, please leave those questions here as well.
Comment below if you need asynchronous assistance with the Appwrite x DEV Hackathon ❤️
P.S. If you'd like to share an update on the progress you're making on your project or if you'd like to connect with other participants, please do so in the community discussion thread!
Latest comments (149)
Hello, I have participated in the #appwritehack and I got 2 credits for community listings, badge, but I didn't get the code for the Forem shop via email, How can I get the code for the Forem shop.
Any idea, when would the results be out
can I update my post that was posted for #appwritehack on 12th may ?
Nevermind. Fixed by changing my domain from mydevcorner.vercel.app to mydevcorner.vercel.app
Appwrite when hosted locally has its endpoint as "localhost". I have Appwrite on Gitpod then what will be my endpoint?
Appwrite when installed locally has it's endpoint "locahost". I have Appwrite on Gitpod then what will be my Appwrite endpoint?
Your Appwrite endpoint is in the settings for the project. Go to your project inside the Appwrite instance, and go to Settings, and the API endpoint is there.
You need to use
httpsinstead ofhttp.For example, using our integration repo gitpod.io/#https://github.com/appw... with a new instance. An example Appwrite endpoint URL would be:
Got it. Thanks!
So we're just submitting an app somewhere? How is the contest being judged and on what criteria?
Hey @nikolayadvolodkin
For your submission, we'll definitely need a public code repository for your project. Aside from that, we would appreciate a video recording or screenshots of your project too.
As far as judging goes, we'll be looking at the project you build and how it leverages Appwrite to solve your problem.
Hello there, just a question regarding deployment. Is it possible to deploy Appwrite to Heroku? I'm totally new to Appwrite and I've been struggling with this for quite some time now.
Ah, yes. You're not alone. Heroku should be possible in theory, but I've seen similar complaints. It seems Heroku doens't play nice with Appwrite at the moment. I would recomment a DigitalOcean droplet, GCP VM, Elastic containers from AWS, or similar VPCs (like azure, vultur, alibaba cloud, linode, etc).
Thanks for answering!
Actually, I just went for digital ocean after struggling with it for quite some time.
First time working with Appwrite and I am trying to add login/signup features. I was able to install it with Docker but things didn't go well on localhost, so I decided to deploy the app with vercel, now I have a 405 Error - Appwrite Exception.
Hmmm, what error did you get on local host?
Were you able to access the Appwrite console on local host?
I can access the console on localhost.
Error on localhost:
Access to XMLHttpRequest at 'localhost/v1/account' from origin 'localhost....' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
The error is gone, the "hostname" in console platforms was incorrect.
That would makes sense. The platforms are meant to whitelist cross origin requests. Afterall you don't want someone to spoof your frontend and make requests to your Appwrite instance. They'd then be able to inject code to steal passwords etc ;)
Hey there, when I execute the cloud function I get this error. There is only a simple console log in index js file.
TypeError: userFunction is not a function
at /usr/local/src/server.js:38:19
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Do you mind providing me the code you've deployed? I can take a look :D
It is just a simple console,log("Hello there").
Did you call res.json() or res.send()?
Did you generate the function and deploy via the CLI or through a compressed file?
I tried another example from 30days of appwrite and also from the Appwrite docs. But no luck.
Yes I did generate it and deployed using compressed file on the Appwrite console. And executed as well from there. Yes I did do res.json() and res.send().
That's strange 🤔
If the generated example from the CLI worked fine, then it isn't anything wrong with the deployment or executor.
Are you calling the code in a file outside index.js? Where and how is
userFunctiondefined?If you want to get quicker responses, I recommend you join our Discord and tag me in your questions @VincentGe