This application allows a user to search for a doctor by entering either a name or an ailment. The program will return a list of doctors with in 100 miles of Portland and will also proved the doctor’s address, their phone number, and whether or not they are accepting new patients.
Behavior | Input | Output |
---|---|---|
User searches program by medical issue and program returns list of doctors who treat that issues | Anxiety | Doctors who treat anxiety |
User searches program by name and program returns list of doctors with that name | Jones | Doctors named Jones |
User seraches for invalid data and program returns error | I love lamp | “Sorry, there are no results that match your request. Please try again.” |
User searches for valid data | Ear Infection | Doctor output will include first name, last name, address, phone number, website, and if doctor is accepting new patients |
In Terminal:
cd desktop
git clone https://github.com/kwicz/doctor-lookup.git
npm install
4. Create a new API Key at [BetterDoctor](https://developer.betterdoctor.com/)
5. In your directory, create a new file called .env. Add this file your your .gitignore file.
```sh
touch .env
API_KEY = {your key here}
npm run start
No known bugs at this time.
Have a bug or an issue with this application? Open a new issue here on GitHub.
Copyright (c) 2020 K.Wicz