An API for finding disease by its symptoms, using Aws API gateway, Lambda functions and DynamoDB.
Also refer to the deployed lambda functions code.
-
API URL = "https://(api_id).execute-{api-region}.amazonaws.com/stage/"
-
API Routes - Methods:
- /disease:
- GET
- query:
- diseaseName = string (required)
- pageSize = int (default = 10)
- offset = int (default = 1)
- /symptoms:
- GET
- query:
- symptomId = string (required)
- pageSize = int (default = 10)
- offset = int (default = 1)
- /disease:
-
Refer to the disease.json and symptoms.json for responses given by api calls.
- Data set is imported from Kaggle Disease Symptom Prediction Dataset.
- After cleaning the data, I have made disease-data.json and symptoms-data.json and imported dataset files to DynamoDB using Admin panel (code is not shared).
- Refer to the exported database file for analyzing database.
-
Disease
- symptom (PK)
- symptom_number (SK)
- symptom_name
-
Symptoms
- disease (PK)
- disease_id (SK)
- disease_name
- disease_symptoms
- disease_symptoms_names [ 1, 2, 3, 4, 5]
- disease_desc
- disease_precautions [ 1, 2, 3, 4]
Kaggle Disease Symptom Prediction Dataset
YouTube tutorials