An app that allows the user to search for a doctor based on medical condition (example: sore throat) or by name. This app will return the first 10 doctors who fulfill the criteria by ascending first name.
_Clone the repository from: https://github.com/MacKLess/look-up-doc.git. Install gulp & bower. Sign up for a free API key at: https://developer.betterdoctor.com/ Create a .env file in your top level with the following code format: exports.apiKey = "YOUR-API-KEY" Run in preferred browser.
- User will search the database by entering a medical condition in textbox and get a list of doctors in the Seattle area.
- User will search the database by entering a name in the textbox and get a list of doctors in the Seattle area.
- If the query returns any doctors, the following info should be included: first name, last name, address, phone number, website, and whether the doctor is accepting new patients.
- Non 200 OK responses (errors) should return with error message and information about type of error.
- If no doctors meet the search criteria, a error message should be returned: "Sorry, there aren't any doctors who fit what you are seeking."
- The API at BetterDoctor.com will include search results for "last_name" that do not actually include a specific doctor. It is assumed that the search term is included in the name of the practice.
Please contact ldmackrell@gmail.com with questions, comments, or issues, or to contribute to the code.
- JavaScript
- jQuery
- Postman
- API
- Node
- SCSS
Copyright (c) 2017 L. Devin MacKrell
This software is licensed under the MIT license.