Documentation: https://github.com/eusoumaxi/apiCovidData/blob/master/Documentation.md
URL API:
https://apicoviddata.azurewebsites.net/
Coronavirus Api requires Node.js v12+ to run.
Install the dependencies and devDependencies and start the server.
$ cd coronavirus-api
$ npm install
$ npm run build
$ npm run dev
For production environments...
$ npm install --production
$ npm run build
$ npm run start
The cronJobs data is consumed at Johns Hopkins University.
Refer to the mainpage.
The script that runs the Cronsjob found in jobs, cronjobs are run every 3 hours by pm2. Or just run it.
$ node jobs/
The cronJobs create a json file("v10.JSON") that will be consumed by express. This json is already organized by country, state and city
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
License
MIT
Free Software, Hell Yeah!
Change ts to js