/doctor-lookup

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.

Primary LanguageJavaScript

Doctor Lookup

Code Review for Week 6 - 2/14/2020

By Jonathan Carlos

Description

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 Driven Development

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.

Setup/Installation

Option One:

  1. Open up your terminal.
  2. Navigate to the desired directory in which you want to clone this repository.
  3. Use git clone https://github.com/jonathancarlos21/doctor-lookup to clone this repository.
  4. Open the repository.
  5. Install all dependencies using $ npm install in your terminal.
  6. Use $ npm run build to start a package bundle.
  7. Visit https://developer.betterdoctor.com/ for instructions on generating your personal API-key.
  8. Create a .env file in the root directory.
  9. Copy and paste API_KEY = followed by your actual key.
  10. Use $ npm run start in your terminal to access a live server.
  11. Enter your medical issues or a doctor's name.
  12. Click "Enter!"

Known Bugs

There are no known bugs at this time.

Support and contact details

If you have any questions, comments, or concerns, feel free to contact the content creator at examplemail@company.net

Technologies used

  • Webpack

  • Node.js / npm

  • BetterDoctor API

  • JavaScript

  • jQuery

  • HTML

  • CSS

  • Bootstrap

  • Visual Studio Code

  • GitBash

License

Copyright (c) 2020 Doctor Lookup

This software is licensed under the MIT license.