-
Notifications
You must be signed in to change notification settings - Fork 1
Server Routes
path: '/signup-patient'
Signs up the patient with the info entered into the sign up modal and hashes the password
path: '/signup-clinician'
Signs up the clinicians with the info entered into the sign up modal and hashes the password
path: '/get-patient-letters'
Gets patient letters for the client dashboard for the current signed in patient
path: '/get-all-patients-letters'
Gets the letters for all of the clinician's patients so they can be used to display on the clinician dashboard
path: '/login-patient'
Checks that the login credentials match
path: '/login-clinician'
Checks that the login credentials match
path: '/add-new-letter'
Inserts a new letter into the database with the given patient id, clinician id, statuses, and date created
path: '/change-letter-status'
Updates the status (On the waiting list, in progress, sent) in the database for the chosen letter
path: '/remove-letter'
Deletes the chosen letter from the database