**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!
Top comments (149)
"Projects under this category should make use of user-generated content on the internet in some way"
Please can someone elaborate on this a little.
Hello @georgeisiguzo! in simple English , user-generated content is where a user can generate content on the internet. For example when the user is able to publish an article, upload a picture, submit a tweet, write a review ...etc
I built an income tracker where the user is able to write on the input field, submit their data, edit and update the document, as well as delete the document. Does this qualify it under the category for user-generated content?
I think so, I'm not sure. According to my understanding, a user-generated content is where a user is able to generate content for others to see not himself. But this is how I understand the concept I'm not sure if that's the right definition. Anyway, Best of luck and well done on your project, It's actually a great idea!
Thank you, Mostafa
Thanks @moose_said
So this means on the app I create, the users should be able to create (or generate) content right?
Thanks again
I believe so yes. You're most welcome :)
Hello,
I have the same doubt. Can someone please explain what that means? Or give some examples?
Thanks!
Yes, I need to get an understanding of that, or maybe, if it's necessary keep spaces for user inputs.,
Can I host appwrite in Azure?
Yes! You can use Azure Virtual Machines :)
in case anyone runs into this thread, here's an update for azure and appwrite techcommunity.microsoft.com/t5/app...
You're welcome! But this reply is after such a long day. 😄☕️
Hey Jackson
A Standard_B2s VM on Azure is more than enough to get you running Appwrite for yourself. I've tried this one in the past and it works well 😁
really thanks :)
please tell me, how can do it?
Can you please let me know till what step you're comfortable? Are you able to create a VM or not?
I can create vm. but how to install appwite in ubuntu vm?
I can create VM on azure (windows vm or ubuntu vm). but how to install for production level or scalable or maintainable.
Once you create an Ubuntu VM, go ahead and install the Docker CLI.
Once that is done, you can install Appwrite on your system by running the following command in your terminal:
really thanks :) ♥
Hello Appwrite team,
Are we allowed to do the hackathon in a team? I would love to work on this with my best friend.
Also, for the rewards and swag, will both the members receive the swag (stickers and tee-shirt)? Or only one?
Thanks in advance!
Hi Riday
Yes, all team members will be eligible for swags.
Thank you so much for the reply!
I believe you can but Dev Community will not distribute the prize. If you win, they will give the prize to the one who submitted the project.
Hey there, everyone! Hope all of you're doing great on the hackathon.
I'm having a little problem with using Avatars API in Python, I'm using this code to get a favicon for a website but have no idea where the image is stored or ready to view.
Any idea on that? Thanks!
The file returned to result is a binary of the image. You can write this to a string or a buffer to save the image.
Try this:
it works! Thank you.
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
userFunction
defined?If you want to get quicker responses, I recommend you join our Discord and tag me in your questions @VincentGe
Hello guys,
I'm struggling with Appwrite indexes. Here's my use case:
id
,username
andis_public
user.name
)true
)For this, I tried to create a search index. I tried a few names:
is_public-username
<- Received error message in the browser's console:AppwriteException: Index not found: user_id,is_public
- Link to imageis_public,username
<- Does not qualify as a valid index key - Link to imageHere's the part of the FE code that I use to specify the query:
Unfortunatly, I could not find any explanation on what I could do. So my question is:
Hi, you were reaaallllly close to getting it right. The issue you were having with
is_public,username <- Does not qualify as a valid index key - Link to image
is that you had a comma in theIndex Key
. We don't allow commas in the name of an index because that really messes with parsing SQL :PFor example, this is from my project, patina-bot
Here's how I would create a two column index:
And here's what the created index looks like
thank you so much for your reply. Works like a charm now 🥳
Hi everyone! Please I need help.
I'm using an express API to avoid CORS issues. How can I implement session management from the server.
doing sdk.account.createsession(...) doesn't manage session across frontend pages
Thanks.
Hi there, if you're trying to solve CORS issues, add a relevant web platform. We block all cross domain request by default for security, but you can add as many allowed web platforms as you wish.
The Server SDK isn't really meant to be used with end user sessions, they're under an Admin scope. I would just resolve CORS issues and use a frontend SDK :D
Reference => dev.to/appwrite/30daysofappwrite-y...
Thanks. I was using Gitpod and even though I added web platforms to my project, I still get CORS issues.
I'm using digital Ocean now and its working fine
This might be something specific to the way Gitpod routes their requests... But it should work still.
Have you seen Appwrite + Gitpod in this guide? gitpod.io/guides/appwrite-and-gitpod
I was having the same cors issue (with Gitpod), however, changing the host name from the default http to httpsfixed the issue for me.
To participate, your projects can be as complex or as simple as you feel comfortable with. We encourage you to build what ever you have the time/knowledge to build. If you're out for the prizes, you might want to do something more novel or cool to catch the judges eyes ;)
I had a question about the storage :
Since there is no cloud version of Appwrite, where do we store the user data like email, password and media?
Hi Vinit
For the hackathon, you can either host Appwrite on your local machine or a cloud VM. In the setup process, Appwrite creates a Docker volume on your local storage. After that, you don't need worry about the user data, Appwrite's APIs, like the Account API (for authentication) and the Storage API (for media), will manage all the rest.
Thanks a lot for the clarification.
Also, even after installing Appwrite using npm, CMD returns :
appwrite command does not exist.
Is there another way to install Appwrite CLI on Windows 10?
Is this issue occuring after running the command
npm install -g appwrite-cli
?Does restarting the shell help?
Yes it is occurring after that
Hello, I am building my project with appwrite, Can I query database in a cloud function? I keep getting "execution timeout" error.