A serverless application to store COVID19 data from Minas Gerais in DynamoDB. 😮
Warning: This project is not completed, yet! Checkout the checklist.
🐳 Docker
☁️ AWS Lambda
💾 AWS S3
🎆 Serverless Framework
and some: Enums, Factories and DIs 😎
[x] Get covid19 data (lambda: Scheduler)
[x] Stores data on S3 Bucket (lambda: Scheduler)
[x] Triggers Lambda when a csv file was created
[x] Sends each line as a message to SQS (lambda: S3Listener)
[x] Triggers a lambda to get messages and store on DynamoDB (lambda: SQSListener)
[ ] Provides data as an API
Build and run (first time) docker-compose up --b
Run docker-compose up
Installnpm install
and runnpm run invoke-local
Installnpm install
and just runnpm run deploy:prod
then runnpm run invoke:scheduler-prod
To activate automatic scheduler change 'autostart' property in serverless.yml
Made with ❤️ and ☕ by lesimoes.