
So somewhat generic question, I was wondering how would you handle friend system with option to send friend request with Accept/Reject, also viewing profile of another user and so on. What I have in mind is 2 ways. Creating a table user and when user register it populated that custom table as well to later use for relation purposes and.
or by storing sender user id and receiver userid with status. And viewing profile via Id by using custom appwrite function.
Or using table with only public data that will get populated on register. what approach would you take since app is heavily related around user interaction with each other, chat , calls, channels and so on. Thank you !
Recommended threads
- CRUD Operations don't work
Hey all, Create, update, and delete is not working for the Appwrite database. The database seems down. When will it be solved? As I can see from the other suppo...
- ❗[Help] Function stuck in "waiting" stat...
Hi Appwrite team 👋 I'm trying to contribute to Appwrite and followed the official setup instructions from the CONTRIBUTING.md guide to run the platform locall...
- Help with 409 Error on Relationship Setu...
I ran into a 409 document_already_exists issue. with AppWrite so I tried to debug. Here's what I've set up: Collection A has 3 attributes and a two-way 1-to-m...
