Rank 2: Process
I want to create a chat web app. So far I only work with the Web SDK (Angular) and all database/auth services work very well.
Now I probably lack the right knowledge (I have ->still<- little Node.js or backend experience) to understand how to develop a dynamic chat app. Statically this would not be a problem:
Let's say there are fixed chat rooms with topics, and the users can register to chat. Then I would create a collection for each chatroom, where the messages would come in. The users would then be informed via appwrite function/realtime when there was new messages.... So far so good.
But if the users address each other directly....I can't create a collection for this 2-person chat in advance...This would have to happen dynamically, but it doesn't work with the Web Sdk.
I could simply build a collection for all chats, and then fish out the id of the respective chat messages....but that's not a good solution and would cost a lot of performance than if every direct chat had its own collection?!
I would like to have some ideas in which direction I have to learn further here? Completely different app structure, or use the Server SDK...do I then have to build my own API (with Server SDK, where the collections are created...) with which the clients then communicate?
Existing knowledge: Html/Css/Javascript (junior)/Typescript (junior) Framework Angular
In your opinion, what knowledge else would be important to add here in order to develop web apps really well with Angular + Appwrite?
Thanks very much 