Second Opinion was developed by our team to assist patients who are seeking additional advice on a sudden diagnosis and have been given a risky or intense treatment recommendations.
The user, aka the patient, will create an account to login to view the dashboard. The user will be required to input their diagnosis and current doctor upon entering the dashboard. Once they have submitted their diagnosis and current doctor, the app will do an ajax call to check the current doctor's rating and pick a similar or better rating from the list of available doctors and sends the results to the dashboard. The patient will then have the information available to make an appointment with the suggested doctor.
- Access the link here
- Clone Repo and extract to accessible location
- Navigate in
Git
to root of the extracted folder ofsecondOpinion
- Type in
npm-install
- Open up the folder in your favorite text editor. Or if you are using sublime, type in
subl .
- Navigate to
config.json
in the config folder. Update thedevelopment
block with your account information to connect to MySQL. - Open up
MySQL Workbench
or any similar visual tool for database manipulation. - Create the following database
second_opinion_db
. Close the tool after creating the database - Go back to
git
and type innode server.js
- Open up your browser in and type in
localhost:3308/
in the address path. - Enjoy!
- To gain admin access, after running
node server.js
once, and registering apatient
account. Open upMySQL Workbench
and access thepatients table
modify the isAdmin column and change the value from0
to1
and apply the change. Doing this will allow you to view the admin dashboard.