You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
listPharmacies Handler
use getPharmacies() query to get all pharmacies contain medicine
login Handler
Hash password
compare password and user with data by checkAuth handler
Set cookies
getMedicine Handler
get medicine info in specific pharmacy by getMedicine() query
updateMedicine Handler
PATCH data by updateMedicine() query
PostMedicine Handler
check of medicine exist or not from external api
check if medicine exits in medicine table, if it doesnt then
use postMedicine() query to post data to medicine table
then post to the medicine_to_pharmacy table using the medicineToPharmacy() query
checkAuth Handler
check cookies exist or not
The text was updated successfully, but these errors were encountered:
fetchMedicinsDescription Handler
fetch
listPharmacies Handler
use getPharmacies() query to get all pharmacies contain medicine
login Handler
Hash password
compare password and user with data by checkAuth handler
Set cookies
getMedicine Handler
get medicine info in specific pharmacy by getMedicine() query
updateMedicine Handler
PATCH data by updateMedicine() query
PostMedicine Handler
check of medicine exist or not from external api
check if medicine exits in medicine table, if it doesnt then
use postMedicine() query to post data to medicine table
then post to the medicine_to_pharmacy table using the medicineToPharmacy() query
checkAuth Handler
check cookies exist or not
The text was updated successfully, but these errors were encountered: