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
cd src/db/
- Import sql script under
src/db/
in mysql
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 ofconfig/test
- Modify
start
command ofpackage.json
and configureLOG_PATH
- Execute
npm run start
to run the program, will read the configuration files ofLOG_PATH
andconfig/formal
cd src/web
npm install
npm run dev
# Build for pre environment
npm run build:pre
# Build for production environment
npm run build
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.