title: Firestore - Logical collection schema for setting data per user?
body: <p>I'm trying to implement a structure for an angular app I'm building whereby each user has their own dataset that is used for their login, so each should have their own 'Expenses', 'Contacts', 'Invoices' collections.</p>
  
  <p>From what I understand, there should therefore be documents with id's of the user's uid value that are accessed through queries of the main collection in which the user's data is searched-for. So inside the top-level 'Contacts' collection in the firestore console, there should be documents labelled with each user's uid, which then contain their own arrays of contacts available to them.</p>
  
  <p>Demonstration below:</p>
  
  <p><a href="https://i.stack.imgur.com/tGGqa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tGGqa.png" alt="Demonstration of proposed firestore database schema/structure"></a></p>
  
  <p>Does this look like the correct approach to implement data per user?</p>