I'm new to Flutter and I'm trying to create an app for a personal project. The project is a content sharing platform where you can upload sound files or image files inside Albums that you created.
The backend is written in Django / Django Rest Framework and I have multiple CRUD (one for the albums, one for the works (sound / picture), one for the users and one for the categories. The database is a PostgreSQL.
I got everything working for making the network calls but I'm struggling to structure how to handle the relations between all these objects to avoid instantiating multiple times the same object.
I'm struggling to decide how and where to store my data and if I should separate the UI stores and the data stores....
If you need more information, tell me, I'll update this post with what's needed (models, endpoints documentation,...)
I hope someone has a good advice or want to share what he does !
Thanks !