COVIDSymptomReportAPI

Free to use under the Unsplash License Link

[ API Architecture]

[ Curiosities ]

[ Connecting API to MongoDB ]

[ Initializing the API ]

COVIDSymptomReportAPI                           [directory]
├── controllers [directory]
│ ├── authentication_controller.js [file]
├── development_controller.js [file]
├── reports_controller.js [file]

├── custommodules [directory]
│ ├── classes.js [file]

├── graphql [directory]
│ ├── resolvers [directory]
│ │ ├── index.js [file]
│ ├── schema [directory]
│ ├── index.js [file]

├── models [directory]
│ ├── report.js [file]

├── routes [directory]
│ ├── development_route.js [file]
│ ├── general.js [file]
│ ├── reports_route.js [file]
├── connector.js [file]
├── index.js [file]
├── nodemon.json [file]
npm install -save express mongoose swagger-jsdoc@6.0.0 swagger-ui-express node-json2html express-graphql graphql mongodb npm install nodemon -D

For a article friendly read purposes, we will post all code of each file related to this project in the end of this article.

[ Deploying ]

[ Microsoft Azure]

[ Heroku ]

[ Running It ]

[ COVIDSymptomReportAPI ]

[ Swagger ]

[ End-Points ]

1. [ Authentication ]

2. [ Public ]

3. [ Reports ]

3.1 [ GetAllReports End-Point ]

3.2 [ ReportsCount End-Point ]

3.3 [ GenderCount End-Point ]

3.4 [ VacineGenderCount End-Point ]

3.5 [ AgeRangeCount End-Point ]

3.6 [ CustomAgeRangeCount End-Point ]

3.7 [ VaccineCount End-Point ]

3.8 [ ChronologicalCount End-Point ]

3.9 [ CustomChronologicalReport End-Point ]

3.10 [ ReinfectionCount End-Point ]

3.11 [ SymptomRation End-Point ]

4. [ Overview ]

5. [ Development ]

[ GraphQL ]

José Costa & Dylan Pinto.

COVIDSymptomReportAPI_controllers_authentication_controller.js

COVIDSymptomReportAPI_controllers_development_controller.js

COVIDSymptomReportAPI_controllers_reports_controller.js

COVIDSymptomReportAPI_custommodules_classes.js

COVIDSymptomReportAPI_graphql_resolvers_index.js

COVIDSymptomReportAPI_graphql_schema_index.js

COVIDSymptomReportAPI_models_report.js

COVIDSymptomReportAPI_routes_development_route.js

COVIDSymptomReportAPI_routes_general.js

COVIDSymptomReportAPI_routes_reports_route.js

COVIDSymptomReportAPI_connector.js

COVIDSymptomReportAPI_index.js

COVIDSymptomReportAPI_nodemon.json