
I am using Appwrite for my social media application. I have modelled the comments functionality and planning it to be recursive. Now I want to know, how can I configure this functionality in Appwrite Collections. Currently using web sdk with appwrite cloud but planning to migrate on node-appwrite
Sample json for a single post:
{
"postId": "nvkndfkvnfdk",
"items": [
{
"userId": "dnksndnsdfefw",
"commentText": "Hello, World!",
"items": [
{
"userId": "dnksndnsdfefw",
"commentText": "Hello, World!",
"items": []
},
{
"userId": "dnksndnsdfefw",
"commentText": "Hello, World!",
"items": []
}
]
},
{
"userId": "dnksndnsdfefw",
"commentText": "Hello, World!",
"items": [
{
"userId": "dnksndnsdfefw",
"commentText": "Hello, World!",
"items": [
{
"userId": "dnksndnsdfefw",
"commentText": "Hello, World!",
"items": []
}
]
}
]
},
{
"userId": "dnksndnsdfefw",
"commentText": "Hello, World!",
"items": []
}
]
}
Recommended threads
- Why "You’ve reached the limit for your G...
Why did Appwrite send me this alert when the usage reached 10605%? Is it too late? Why not when reached 100% usage? And I can not pay for more usage described ...
- Subdomain failed verification
So I wanted to do a custom subdomain, because local storage doesn't work for me, but I've tried it a long time ago, it didn't work for me, and now I'm trying ag...
- Sites 30MB limit from GitHub
I’m deploying a site from github as Other type on the Hobby plan. It is actually a Flutter web app but it’s in a subdirectory with the root being an html landin...
