Skip to content

MacKLess/look-up-doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Look Up Doc

Epicodus Coding Project in JavaScript Using APIs

By L. Devin MacKrell

Description

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.

Setup/Installation Requirements

_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.

Specifications

  • 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."

Known Bugs

  • 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.

Support and contact details

Please contact ldmackrell@gmail.com with questions, comments, or issues, or to contribute to the code.

Technologies Used

  • JavaScript
  • jQuery
  • Postman
  • API
  • Node
  • SCSS

License

Copyright (c) 2017 L. Devin MacKrell

This software is licensed under the MIT license.

About

Epicodus solo practice JavaScript week 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published