
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
- Console create row ui not passing ID.uni...
I'm getting an error saying the id is already used but it should be created with ID.unique() it doesn't seem to be reading the row ID field at all. I can't get ...
- Permissions in create_operations() Pytho...
How can I set permissions for `create_operations()`? What even is the correct way to use permissions in Python (using SDK version 13.4.1) ? In my cloud functio...
- Cannot add/update array field
How do I add or update the rows, How exactly to pass properties? (see provided image)
