DEV Community

Pedro Lopez
Pedro Lopez

Posted on

COVID-19 Peak Detector

What I built

COVID-19 Peak Detector is a Java Spring Boot application with a DynamoDB store that displays graph information with stats about COVID-19. You can select the country you are interested in and you can create an alert by entering your phone number.

A scheduled process will check the data periodically and will send the alert when a peak is detected.

For simplicity and to avoid unnecessary spam, after sending the alert the process removes it from the database.

In addition to that, there is an anonymous chat available, in which COVID-19 news are posted every 5 minutes. People can comment on the news or just talk about the weather.

screenshot

Demo Link

http://covid19.plopcas.com

Link to Code

https://github.com/plopcas/covid19-peak-detector

How I built it (what's the stack? did I run into issues or discover something new along the way?)

In a nutshell, this application uses the following techonologies:

  • Spring Boot as the web framework
  • DynamoDB as the database
  • Thymeleaf for templating
  • Chart.js for graphs
  • Twilio SMS for alerts
  • Twilio Chat for in-app messaging
  • Twilio Sync for news
  • Gradle as the build tool

For the COVID-19 data and the news, I'm using free APIs that are available via the Postman website here https://covid-19-apis.postman.com/.

The demo application was deployed in AWS using Elastic Beanstalk.

Additional Resources/Info

https://dev.to/plopcas/twilio-hackathon-covid-19-peak-detector-5hfk

Top comments (0)