This application will be able to make API requests to BetterDoctor in order to retrieve information about doctors depending on the medical issues that are entered by the users.
Behavior | Input | Output |
---|---|---|
User enters a medical issue. | Fever | A list of doctors in the Portland area who deal with fevers. |
User enters a name. | John Doe | All the doctors with the name John Doe in the Portland area are displayed. |
The query response includes doctors. | Fever or John Doe | Displayed Info: first name, last name, address, phone number, website, and whether or not the doctor is accepting new patients, |
The query results in an error. | FEVR | Message that states the error. |
The query results in no doctors. | John Jane | Notification that states no doctors meet the criteria. |
Option One:
- Open up your terminal.
- Navigate to the desired directory in which you want to clone this repository.
- Use
git clone https://github.com/jonathancarlos21/doctor-lookup
to clone this repository. - Open the repository.
- Install all dependencies using
$ npm install
in your terminal. - Use
$ npm run build
to start a package bundle. - Visit
https://developer.betterdoctor.com/
for instructions on generating your personal API-key. - Create a
.env
file in the root directory. - Copy and paste
API_KEY =
followed by your actual key. - Use
$ npm run start
in your terminal to access a live server. - Enter your medical issues or a doctor's name.
- Click "Enter!"
There are no known bugs at this time.
If you have any questions, comments, or concerns, feel free to contact the content creator at examplemail@company.net
-
Webpack
-
Node.js / npm
-
BetterDoctor API
-
JavaScript
-
jQuery
-
HTML
-
CSS
-
Bootstrap
-
Visual Studio Code
-
GitBash
Copyright (c) 2020 Doctor Lookup
This software is licensed under the MIT license.