phdi
phdi copied to clipboard
Setup S3 for local development
What needs to be done
- Setup S3 localstack in docker-compose.yml
- Update create seed data to save to S3 bucket
Why it needs to be done
- Since all potential partners will be using some sort of blob storage to store the fhir bundles we should be able to mock that experience locally
- Developers need a local development environment to mock an S3 bucket
Acceptance Criteria
- [ ] S3 bucket is running when running
npm run local-dev - [ ] FHIR data gets saved to S3 bucket
- [ ] Environment variables values are documented and set to connect to S3 bucket
Technical Notes
- https://docs.localstack.cloud/user-guide/aws/s3/
- https://docs.localstack.cloud/user-guide/integrations/sdks/javascript/