The flow of the application that I'm trying to build goes like this: When a page is loaded, a list of jobs will be pulled from 'database/jobs', and displayed. Additionally: for each job, a set of documents that correspond to that job will be pulled. Each of these documents have a number of hours. (Because the total hours for each job is added and then displayed. The total hours for each job needs to be generated each time the page is loaded, and can't be stored in the database).The flow of the application that I'm trying to