{"id":14482779,"url":"https://github.com/alexisthual/symptoms-tracker","last_synced_at":"2026-01-17T07:04:22.682Z","repository":{"id":40844320,"uuid":"249109895","full_name":"alexisthual/symptoms-tracker","owner":"alexisthual","description":"A scalable web app for tracking covid-19-related symptoms amongst confined populations","archived":false,"fork":false,"pushed_at":"2023-01-07T16:13:24.000Z","size":14177,"stargazers_count":18,"open_issues_count":22,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-27T04:31:57.575Z","etag":null,"topics":["covid","covid-19","covid19-data","webapp","zeit-now"],"latest_commit_sha":null,"homepage":"https://symptoms-tracker.now.sh","language":"Jupyter Notebook","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/alexisthual.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-22T04:02:27.000Z","updated_at":"2021-05-18T16:06:48.000Z","dependencies_parsed_at":"2023-02-07T15:16:00.778Z","dependency_job_id":null,"html_url":"https://github.com/alexisthual/symptoms-tracker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alexisthual/symptoms-tracker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexisthual%2Fsymptoms-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexisthual%2Fsymptoms-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexisthual%2Fsymptoms-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexisthual%2Fsymptoms-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexisthual","download_url":"https://codeload.github.com/alexisthual/symptoms-tracker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexisthual%2Fsymptoms-tracker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272800741,"owners_count":24995138,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","covid-19","covid19-data","webapp","zeit-now"],"created_at":"2024-09-03T00:01:17.323Z","updated_at":"2026-01-17T07:04:22.665Z","avatar_url":"https://github.com/alexisthual.png","language":"Jupyter Notebook","funding_links":[],"categories":["Jupyter Notebook"],"sub_categories":[],"readme":"# Symptom Tracker\n\nThis a mono repo implementing a web application made for collecting symptoms related to COVID-19.\nThis would help:\n\n- tracking evolution of symptoms amongst confined populations\n- anticipate trafic in healthcare facilities\n\nCollected data is meant to be open and **non-identifying**.\n\nThis application consists of:\n\n- a lightweight (~80KB) react, next.js server-side-rendered frontend (see `./pages`)\n- a single lambda endpoint to store submissions sent by users (see `./api` and `./lib/db`)\n- a Postgres instance where data will be stored (see config in `./.env` and `./docker-compose.yml`)\n\n## Local deployment\n\n### Install dependencies\n\n```\nyarn install\n```\n\n### Run client and lambda\n\n```\nnow dev\n```\n\nIn case you only want to run the client:\n\n```\nnext dev\n```\n\n### Start local postgres instance\n\n```\ndocker-compose up\n```\n\nWhen instanciating this db for the first time, you should create all tables etc using\n\n```\nyarn run typeorm schema:sync\n```\n\n### Create or generate migrations\n\nRequirements:\n\n- You should have `ts-node` installed globally (`yarn global add ts-node`).\n\nCommands:\n\n```\ntypeorm migration:create -n migrationName\ntypeorm migration:generate -n migrationName\n```\n\n### Run migrations\n\nRequirements:\n\n- Typeorm only handles `.js` migrations, so one needs to transpile them first:\n\n```\ntsc lib/db/**/*.ts --outDir build\n```\n\nCommands:\n\n```\nyarn run typeorm migration:run\n```\n\n## Deploy to prod\n\n### Deploy client and lambda\n\n```\nnow --prod\n```\n\n### Run migrations to prod database\n\nRequirements:\n\n- you should have `dotenv-cli` installed globally (`yarn global add dotenv-cli`)\n- you should have a `./.env.prod` file with necessary variables setup (all necessary variables are listed in `./.env`)\n\nCommands:\n\n```\ndotenv -e .env.prod yarn run typeorm migration:run\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexisthual%2Fsymptoms-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexisthual%2Fsymptoms-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexisthual%2Fsymptoms-tracker/lists"}