Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jhomarolo/covid-api
Rest API using herbsjs with MongoDB with covid-19 data
https://github.com/jhomarolo/covid-api
covid-19 covid-19-brazil covid-api herbsjs mongodb
Last synced: about 1 month ago
JSON representation
Rest API using herbsjs with MongoDB with covid-19 data
- Host: GitHub
- URL: https://github.com/jhomarolo/covid-api
- Owner: jhomarolo
- License: mit
- Created: 2020-06-09T21:13:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T19:01:29.000Z (about 2 years ago)
- Last Synced: 2023-08-13T08:10:52.889Z (over 1 year ago)
- Topics: covid-19, covid-19-brazil, covid-api, herbsjs, mongodb
- Language: JavaScript
- Homepage: https://codigosimples.net
- Size: 365 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# covid-api
![CI build](https://github.com/jhomarolo/covid-api/workflows/CI%20build/badge.svg) [![codecov](https://codecov.io/gh/jhomarolo/covid-api/branch/master/graph/badge.svg)](https://codecov.io/gh/jhomarolo/covid-api)
### Running individually
1. Enter the project folder
2. Open a terminal and run `npm i` to install the packages
3. Configure your connection string and if necessary import the files to your database using the python import script inside the data folder
4. The data source comes from the following repository: https://github.com/CSSEGISandData/COVID-19/tree/master/csse_covid_19_data/csse_covid_19_time_series
5. Run after `npm start`
6. In the console it must appear with the project name and the phrase Server listening on port 8080 (it is possible that according to your computer's settings it is localhost: 8080 or 127.0.0.1:8080)
7. The main route is at **/covid**## How to contribute
If you would like to help contribute to this repository, please see [CONTRIBUTING](https://github.com/jhomarolo/covid-api/blob/master/.github/CONTRIBUTING.md)
---
### License
- [MIT License](https://github.com/github/super-linter/blob/master/LICENSE)