Project file structure
Created by: cschloer
Relies on https://github.com/Blocp/projectservice/pull/15
Make sure to connect projectservice to buildings with appservice and to update your .env file to include a REACT_APP_PROJECT_SERVICE variable
This PR includes:
-
Update getDocuments to take keys as well as paths
-
Update uploadDocument to optionally call another function that POSTs a service endpoint.
-
On Project page load: Get a list of documents from projectservice, then query document service with those keys
-
On Project file upload: Upload the file to box using a document service POST, then POST the key to projectservice documentslot table.