TrackingCovid API

Started out making a data visualization site using Phoenix LiveView and react:

But found someone else who was doing it better:

So we decided to work together, I am focusing on the API. I want to add a GraphQL endpoint soon.


Johns Hopkins dudes has done a pretty nice job with their dashboard. Just in case you haven’t checked it out yet. Stay safe, be responsible. :vulcan_salute: from Italy.


I added a GraphQL endpoint to it using absinthe. This was my first time working with GraphQL. The experience was pretty good. Thanks @benwilson512 and @bruce

However the GraphQL endpoint is much slower than the REST endpoint for getting cases and predicated cases. I haven’t had much of a chance to figure out why.

For the people with lots of experience with GraphQL if I’m doing anything obviously dumb please point it out for me. Thanks!

EDIT: I love elixir I was able to quickly and easily add a cache to make it faster: