Please enable JavaScript.
Coggle requires JavaScript to display documents.
My Clinic - Coggle Diagram
My Clinic
validators
isAdmin
isAuthenticated
requiredFields
isSignedIn
phoneDuplicated
phoneDoesntExists
orderComplete
hasPurchased
isBlocked
withinTime
withinDate
isReserved
models
doctor
user
appointment
place
medicine
menu
consult
order
routes
auth
signup: POST
login: POST
menu
getMenuItems
getMenuItemById
addMenuItem
updateMenuItem
deleteMenuItem
user
getUserById: GET
getReservations: GET
getInformation: GET
updateInfo: UPDATE
deleteUser: DELETE
deleteAllUsers: DELETE
getAllUsers: GET
getOrders: GET
getRedeemedOffers: GET
doctor
getDoctorById
getMajorById
getDoctors
getMajors
addDoctor
addMajor
updateDoctor
updateMajor
deleteDoctor
deleteMajor
hospitals
getAllHospitals: GET
addHospital: POST
getHospitals: POST
getExternalMajors: POST
getExternalDoctors: POST
reserveExternal: POST
reserveMedical: POST
reserveLab: POST
reserveXRay: POST
reserveNaturalist: POST
reserveOperations: POST
getHospitalById: GET
getReservations: GET
addExternalDoctors: POST
addExternalMajors: POST
setDateAndTimeBoundary
addHospital: POST
place
getPlaceById
getPlacesByType
addPlace
deletePlace
getPlaces
updatePlace
getAllPlaces
offers
addOffer: POST
addOffers: POST
deleteOffer: DELETE
updateOffer: UPDATE
getOffers: GET
getOfferById: GET
general
getCities: GET
getInsurances: POST
helpers
errorHandler
wildcardHandler
controllers