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
- HTTP Error 500 ''
Hello to everyone, I'm a Flutter developer and actually I'm developing an app using Appwrite.. during my tests and also massive ones I've noticed something we...
- Inviting members while SMTP is disabled ...
Issue: https://github.com/appwrite/console/issues/3125 PR: https://github.com/appwrite/console/pull/3126
- Appwrite Sites: ERR_TOO_MANY_REDIRECTS o...
So, my domain was working perfectly fine with Vercel. I was using cloudflare CDN (still am) but CNAME was DNS-only. I switched over to appwrite, CNAME is still ...