Skip to content

3JTeam/TH_COVID19_International

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TH_COVID19_International

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

Demo

Project structure

TH_COVID19_International
|-- src                       # Source code
|   |-- db                    # Database import script
|   |-- servers               # Source code of Backend
|   |   |-- ncov-server       # Main server
|   |   |-- ncov-test-engine  # Self-administered dialogue engine
|   |-- web                   # Souce code of Frontend
|
|-- images                    # images of Display

Instructions

Database Deployment

  1. cd src/db/
  2. Import sql script under src/db/ in mysql

Backend Deployment

  1. cd src/servers/ncov-server
  2. npm install
  3. Modify the configuration file under /config/formal, referring to the sample of /config/test
  4. Debug and execute npm run dev locally, will read the configuration file of config/test
  5. Modify start command of package.json and configure LOG_PATH
  6. 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

Self-administered Dialogue:

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.

Self-administered Dialogue

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TSQL 80.0%
  • CSS 11.6%
  • Vue 5.1%
  • JavaScript 2.1%
  • Python 1.2%
  • HTML 0.0%