Open JoseCage opened 6 years ago
Add new feature for blood banks and hospitals and donors health checkup.
v1/hospitals
v1/hospitals/{ID}
/v1/hospitals/ID}/checkups
/v1/hospitals/{ID}/checkups
/v1/hospitals/{ID}/checkups/{donor}
Query's
HospitalsQuery
HospitalProfileQuery
CheckupQuery
Type's
HospitalsType
CheckupType
Mutation's
RegisterHospitalMutation
UpdateHospitalMutation
NewCheckupMutation
VerifyHospitalMutation
Checkup table/Model attributes:
id
hospital_id
donor_id
checkupDate
Add new feature for blood banks and hospitals and donors health checkup.
Rest-API
v1/hospitals
v1/hospitals/{ID}
/v1/hospitals/ID}/checkups
(Get all checkups done in a specific hospital/blood bank)/v1/hospitals/{ID}/checkups
(Register a new donors check-up)/v1/hospitals/{ID}/checkups/{donor}
(Get all checkup logs by a specific donor)/v1/hospitals/{ID}/checkups/{donor}
(Get the checkup details by a specific donor)GraphQL:
Query's
HospitalsQuery
HospitalProfileQuery
CheckupQuery
Type's
HospitalsType
CheckupType
Mutation's
RegisterHospitalMutation
UpdateHospitalMutation
NewCheckupMutation
VerifyHospitalMutation