Load Test Host-Panel Data
Make sure you have DynamoDB running locally on port 8000
Build the script: npm run build
.
Run npm run load-db
.
Using Test Data
Install npm install @mosure/host-panel-load-test-db
to access test data objects.
Test Table Convention
Note: the first item in each data
array is a 'complete' data object.
Optional Arguments
Don't load test data: npm run load-db -- --no-data
Specify an alternate DynamoDB endpoint: npm run load-db -- --endpoint http://localhost:8000