Kotlin/Spring web service I created for my own usage to send daily reports about COVID19.
Subscribers will daily get a report about COVID19 includes some interesting data and statistics.
Actually it's archived.
- Send daily emails with report about COVID19.
- Allows to subscribe and unsubscribe
- Requires email verification
- Using thymeleaf to generate mails.
- New Deaths
- Positive Covid tests compared to negative tests
- Confirmed Cases compared to total
# To subscribe
PUT /subscribe/{email}
# OK: 201
# To confirm email
POST /subscribe/{email}/code={code}
# OK: 204
# To unsubscribe
DELETE /subscription/{email}/cancel/{cancelCode}
# OK: 204
# clone the repo
git clone https://www.github.com/kacperfaber/coronavirus-daily-report && cd coronavirus-daily-report
Initialize the repo
mvn install
# run locally as developer
mvn spring-boot:run -Dspring.profiles.active=dev
src/main/resources/dev.hiberante.cfg.xml
See ./notes/properties.txt to get all configuration properties
Kacper Faber