{"id":13630247,"url":"https://github.com/lachlanjc/predictcovid","last_synced_at":"2025-06-28T07:35:59.226Z","repository":{"id":51397761,"uuid":"246998586","full_name":"lachlanjc/predictcovid","owner":"lachlanjc","description":"Visualize \u0026 track the 2020 COVID-19 pandemic by country.","archived":false,"fork":false,"pushed_at":"2022-08-02T14:10:43.000Z","size":1188,"stargazers_count":111,"open_issues_count":6,"forks_count":11,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-22T01:49:13.478Z","etag":null,"topics":["coronavirus","covid-19","covid19","dataviz","prisma2","redwoodjs","scraper"],"latest_commit_sha":null,"homepage":"https://predictcovid.netlify.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lachlanjc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-13T05:56:55.000Z","updated_at":"2024-10-08T17:14:23.000Z","dependencies_parsed_at":"2022-09-25T00:50:21.371Z","dependency_job_id":null,"html_url":"https://github.com/lachlanjc/predictcovid","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lachlanjc/predictcovid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lachlanjc%2Fpredictcovid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lachlanjc%2Fpredictcovid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lachlanjc%2Fpredictcovid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lachlanjc%2Fpredictcovid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lachlanjc","download_url":"https://codeload.github.com/lachlanjc/predictcovid/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lachlanjc%2Fpredictcovid/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262393556,"owners_count":23304140,"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":["coronavirus","covid-19","covid19","dataviz","prisma2","redwoodjs","scraper"],"created_at":"2024-08-01T22:01:35.615Z","updated_at":"2025-06-28T07:35:59.200Z","avatar_url":"https://github.com/lachlanjc.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cimg src=\"https://predictcovid.netlify.app/card.png\" width=\"512\" alt=\"Banner with chart preview\" /\u003e\n\n# Interactive COVID-19 Country Tracker\n\nBuilt with [RedwoodJS](https://redwoodjs.com), an interactive visualization of the COVID-19 pandemic,\ncharted country-to-country. Made by [@lachlanjc](https://lachlanjc.com) +\n[@zachlatta](https://zachlatta.com) (while in isolation, of course).\n\nCheck it out live: [**predictcovid.netlify.app**](https://predictcovid.netlify.app/)\n\n[![Netlify Status](https://api.netlify.com/api/v1/badges/bdfb5b9d-a04d-4f31-88b6-b8fe7c10c14c/deploy-status)](https://app.netlify.com/sites/predictcovid/deploys)\n\n## Development\n\n### Clone\n\n```terminal\ngit clone https://github.com/lachlanjc/predictcovid\ncd covid19\n```\n\n### Setup\n\nWe use Yarn as our package manager. To get the dependencies installed, just do this in the root directory:\n\n```terminal\nyarn\n```\n\n### Fire it up\n\n```terminal\nyarn redwood dev\n```\n\nYour browser should open automatically to `http://localhost:8910` to see the web app. Lambda functions run on\n`http://localhost:8911` and are also proxied to `http://localhost:8910/api/functions/*`.\n\nBut we don’t have any data, or even a database!\n\n### Database\n\nWe’re using [Prisma2](https://github.com/prisma/prisma2), a modern DB toolkit to query, migrate and model your database.\n\nPrisma2 is [not ready for production](https://isprisma2ready.com) at the moment.\n\nTo create a development database:\n\n```terminal\nyarn redwood db up\n```\n\nThis will read the schema definition in `api/prisma/schema.prisma` and generate a SQLite database in `api/prisma/dev.db`\n\n(If you’ve made changes to the schema run `yarn redwood db save` to generate a migration, and `yarn redwood db up`\nto apply the migration/generate a new ORM client.)\n\n### Downloading data\n\nFirst, seed the database:\n\n```terminal\nyarn redwood db seed\n```\n\nNow, run the scraper. In one terminal, start the server (`yarn rw dev`), and in another, make this request:\n\n```terminal\ncurl http://localhost:8911/scrape\n```\n\n(Note: it will eventually hang, first on your curl request, \u0026 then the scraper doesn’t currently print a success message.)\n\nYou should be good to go now! Open [localhost:8910](http://localhost:8910) \u0026 enjoy development.\n\n***\n\n*Thanks to [dDara](https://thenounproject.com/dDara/) for [the icon](https://thenounproject.com/dDara/collection/coronavirus/).*\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flachlanjc%2Fpredictcovid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flachlanjc%2Fpredictcovid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flachlanjc%2Fpredictcovid/lists"}