skip to Main Content

What is the best way to structure a todo list database with Firestore to create a reference between projects and tasks? – Flutter

I’m currently building a todo application with Flutter. Currently my structure looks like this: users/{userid}/projects/{projectid}/tasks/(all the tasks) (1) But I've also come up with the following idea. (2) users/{userid}/projects/{projectid} users/{userid}/tasks/{taskid} // All tasks hold a reference to the projectid Is…

VIEW QUESTION
Back To Top
Search