This PR adds in the functionality needed to execute database creation as a currently uncalled typescript file. Once Marcelle's PR for creating the button and page lands, we can link this code to that button and play it out. In the mean time, this code was tested using docker instrumentation hook setups.
Related Issue
Fixes #83 #85
Additional Information
Very minor point, but I personally like the logging I left in the functions because this is a more complex integration process across multiple APIs, with batching and async calls, as well as sleep times. I personally think it's nice to report the information since the whole process takes ~30 seconds and visual cues can be helpful during that time. Open to taking them out, just wanted to explain the rationale for leaving them in.
Create DB Seeding Functions in TypeScript file
Summary
This PR adds in the functionality needed to execute database creation as a currently uncalled typescript file. Once Marcelle's PR for creating the button and page lands, we can link this code to that button and play it out. In the mean time, this code was tested using docker instrumentation hook setups.
Related Issue
Fixes #83 #85
Additional Information
Very minor point, but I personally like the logging I left in the functions because this is a more complex integration process across multiple APIs, with batching and async calls, as well as sleep times. I personally think it's nice to report the information since the whole process takes ~30 seconds and visual cues can be helpful during that time. Open to taking them out, just wanted to explain the rationale for leaving them in.