This repository provided real-time tracking of COVID-19 trends during the pandemic. As the global health crisis has subsided and the project is no longer maintained, it will be archived.
The repository will become read-only on 2025-04-04. No new issues or pull requests will be accepted, but historical data and contributions remain accessible.
We sincerely thank all contributors and users who supported this project during a critical time.
COVID-19 Live Updates of Tencent Health is developed to track the live updates of COVID-19, including the global pandemic trends, domestic live updates, and overseas live updates.
TH_COVID19_International
|-- src # Source code
| |-- db # Database import script
| |-- servers # Source code of Backend
| | |-- COVID-19-server # Main server
| | |-- COVID-19-self-triage # Self-administered triage engine
| | |-- COVID-19-self-triage-server # Self-administered triage server
| |-- web # Souce code of Frontend
|
|-- images # images of Display
Instructions
Database Deployment
cd src/db/
Import sql script under src/db/ in mysql
Backend Deployment
cd src/servers/COVID-19-server
npm install
Modify the configuration file under /config/formal, referring to the sample of /config/test
Debug and execute npm run dev locally, will read the configuration file of config/test
Modify start command of package.json and configure LOG_PATH
Execute npm run start to run the program, will read the configuration files of LOG_PATH and config/formal
Frontend Deployment
cd src/web
npm install
npm run dev
# Build for pre environment
npm run build:pre
# Build for production environment
npm run build
Components
COVID-19 Self-triage:
It serves as a virtual doctor and interacts with the users through 5-7 questions which consists of fever, respiratory symptoms, and epidemiological exposure history, etc. After the conversation, it provides with risk judgement and personlized medical advice.
You can modify the questions or answers, and configure logic according to the
diagnostic guidelines for COVID-19 of your own country.
TH_COVID19_International
Archival Notice
This repository provided real-time tracking of COVID-19 trends during the pandemic. As the global health crisis has subsided and the project is no longer maintained, it will be archived.
The repository will become read-only on 2025-04-04. No new issues or pull requests will be accepted, but historical data and contributions remain accessible.
We sincerely thank all contributors and users who supported this project during a critical time.
COVID-19 Live Updates of Tencent Health is developed to track the live updates of COVID-19, including the global pandemic trends, domestic live updates, and overseas live updates.
Display
Preview
Project structure
Instructions
Database Deployment
cd src/db/src/db/in mysqlBackend Deployment
cd src/servers/COVID-19-servernpm install/config/formal, referring to the sample of/config/testnpm run devlocally, will read the configuration file ofconfig/teststartcommand ofpackage.jsonand configureLOG_PATHnpm run startto run the program, will read the configuration files ofLOG_PATHandconfig/formalFrontend Deployment
Components
COVID-19 Self-triage:
It serves as a virtual doctor and interacts with the users through 5-7 questions which consists of fever, respiratory symptoms, and epidemiological exposure history, etc. After the conversation, it provides with risk judgement and personlized medical advice. You can modify the questions or answers, and configure logic according to the diagnostic guidelines for COVID-19 of your own country.
COVID-19 Self-triage engine COVID-19 self-triage server