{"id":18756842,"url":"https://github.com/code-shoily/covid19","last_synced_at":"2025-08-04T17:33:01.221Z","repository":{"id":37922507,"uuid":"247199483","full_name":"code-shoily/covid19","owner":"code-shoily","description":"A Phoenix app to display Novel Coronavirus (COVID-19)","archived":false,"fork":false,"pushed_at":"2024-02-24T23:35:23.000Z","size":27373,"stargazers_count":96,"open_issues_count":0,"forks_count":6,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-26T19:44:46.722Z","etag":null,"topics":["covid-19","dashboard","elixir","live-view","phoenix"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/code-shoily.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-14T02:43:57.000Z","updated_at":"2024-07-10T00:00:46.000Z","dependencies_parsed_at":"2024-11-07T17:53:58.822Z","dependency_job_id":null,"html_url":"https://github.com/code-shoily/covid19","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-shoily%2Fcovid19","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-shoily%2Fcovid19/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-shoily%2Fcovid19/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-shoily%2Fcovid19/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code-shoily","download_url":"https://codeload.github.com/code-shoily/covid19/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248654084,"owners_count":21140235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["covid-19","dashboard","elixir","live-view","phoenix"],"created_at":"2024-11-07T17:38:17.724Z","updated_at":"2025-04-13T02:03:49.041Z","avatar_url":"https://github.com/code-shoily.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Covid19\n\n**WIP WARNING** This is a work in progress. See the disclaimer below.\n\nThis app reads Covid19 dataset from Johns Hopkins CSSE repository, loads it to a database and displays the data in a dashboard made with Phoenix LiveView.\n\nBig thanks goes to Johns Hopkins CSSE and by extension, people behind all those data sources for keeping us updated.\n\n## Other Branches and UI\n\nAs of right now, this branch (`main`) does not have any UI. UI is work in progress and will be updated soon.\n\nThere are two experimental UI branches:\n\n1. [For ClojureScript + BulmaCSS](https://github.com/code-shoily/covid19/tree/clojurescript-experiment)\n2. [For TailwindCSS](https://github.com/code-shoily/covid19/tree/mafinar/try-out-tailwind)\n\nIf you want to try out those branches, I'd suggest pull the data from the main branch following the instructions given here and then switch to those branches and compile. As the data syncing mechanism presented there are outdated and slow (30 minutes versus 3 minutes for global data sync)\n\n## Setup\n\nTo start your Phoenix server:\n\n* Pull the Covid19 dataset submodule with `git submodule update --init --recursive --progress --depth 1`\n* Install dependencies with `mix deps.get`\n* Create and migrate your database with `mix ecto.setup`\n* Install Node.js dependencies with `cd assets \u0026\u0026 npm install`\n* Start Phoenix endpoint with `mix phx.server`\n\nNow that the system is setup, let's load some data.\n\nTo get the latest dataset from the repository, update the submodules with `git submodule update --recursive --remote`.\n\nNow, fire up `iex -S mix` and in the REPL, type `Covid19.Source.sync_all()` to sync both global and US datasets. If you want to only sync US or Global datasets then you can type `Covid19.Source.sync_all(:world)` for world and `Covid19.Source.sync_all(:us)` for US data.\n\nThere are some sensible aliases in `.iex.exs.copy` file. If you wish you can\nappend them in your own `.iex.exs`.\n\nIn order to keep the system updated, repeat the steps above.\n\nNow you can visit [`localhost:4000`](http://localhost:4000) from your browser.\n\n## FAQ\n\n### Data Sync\n\nTBD\n\n## Screenshots\n\n### Main Dashboard\n\nTBA\n\n### Detail View (WIP)\n\nTBA\n\n## Disclaimer\n\nThis app massages and displays based on curated datasets and does not attempt to produce or collect any beyond those sources. The datasets come with their own sets of \"Terms and Conditions\". I respect those and so should you!\n\nThis is my attempt to play with Phoenix LiveView and explore data, and by no means intended to be used by anything else, there can and will be wrong data, runtime errors, duplicates, and missing values compared to the data source. If you want to see actual data, google \"Coronavirus Statistics\" at your own risk, everyone seems to have a widget for it nowadays (Even those come with disclaimers, at least they should). I am doing this because I wanted to do learn some Phoenix LiveView, get less scared and more educated with Corona Virus (any, really) statistics, and convert some boredom (for now).\n\n## Thank You\n\n* COVID-19 Data Repository by the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University: \u003chttps://github.com/CSSEGISandData/COVID-19\u003e\n* [An interactive web-based dashboard to track COVID-19 in real time](https://www.thelancet.com/journals/laninf/article/PIIS1473-3099(20)30120-1/fulltext)\n* [Desktop Visual Dashboard (JHU-CSSE)](https://www.arcgis.com/apps/opsdashboard/index.html#/bda7594740fd40299423467b48e9ecf6)\n* [Mobile Visual Dashboard (JHU-CSSE)](http://www.arcgis.com/apps/opsdashboard/index.html#/85320e2ea5424dfaaa75ae62e5c06e61)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-shoily%2Fcovid19","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-shoily%2Fcovid19","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-shoily%2Fcovid19/lists"}