DEV Community

Developing my local COVID-19 side project

Vicente G. Reyes on April 27, 2020

Introduction The main plan was to develop a COVID-19 tracker in Django that shows local data in the Philippines - until the Department o...
Collapse
 
waylonwalker profile image
Waylon Walker

quick markdown/DEV tip, make sure you put the language of your code next to your code block.

raw markdown

print("hello world")
Collapse
 
highcenburg profile image
Vicente G. Reyes

Hi, what's the use of putting the language at the top?

Collapse
 
waylonwalker profile image
Waylon Walker

It is what enables syntax hilighting

Thread Thread
 
highcenburg profile image
Vicente G. Reyes

Isn't it highlighted already before you gave the tip?

Thread Thread
 
waylonwalker profile image
Waylon Walker

Your article does not look highlighted to me.

Thread Thread
 
highcenburg profile image
Vicente G. Reyes

That's weird. Check out all the code blocks on all the themes on the photos below:

Collapse
 
tweettamimi profile image
Tamimi

Hey Vicente! Thanks for sharing and this looks pretty cool. I was wondering if you ever considered using a realtime stream of COVID updates to build an event-driven application instead of relying on polling an API for data updates? I wrote a blog post about it here dev.to/tweettamimi/how-i-used-covi... let me know if you're interested to collab 🙌

Collapse
 
highcenburg profile image
Vicente G. Reyes

Hey Tamimi, what I actually have in mind is, since someone from the Philippines is taking down notes on where the budget for COVID is going, I'm planning on adding the said data on the site. But it's still on planning stage tho.

Awesome blog post! I'm actually still a novice in Django but I'm in. I could learn a thing or two from you anyways.

Collapse
 
tweettamimi profile image
Tamimi

Sounds good! Have you done any front end development with python as a backend (i.e. using Django)? We can start with the code snippet in my blodpost as the event-driven skeleton receiving updates from any of the data sources. Subscription to topics could be as easy as subscribing to"jhu/csse/covid19/test/cases/+/update/Philippines/#" for example to get all cases updates from the Philippines. It'll be a cool exploration of using Python/Django and messaging protocol mqtt

Thread Thread
 
highcenburg profile image
Vicente G. Reyes

Let's speak in the chat 😄

Collapse
 
waylonwalker profile image
Waylon Walker

Such a great community project!! Thanks for sharing!

Collapse
 
wobsoriano profile image
Robert

Good job

Collapse
 
highcenburg profile image
Vicente G. Reyes • Edited

I was part of the DICT team that planned to develop our local tracker but they used Java and Angular hence deciding to make my own.

Collapse
 
highcenburg profile image
Vicente G. Reyes

Thank you.