fac-14 / OSCEBossKey

Weeks 13-16 > Tech for Better project: An app to help medical students revise for their exams
https://oscebosskey.herokuapp.com/
MIT License
3 stars 2 forks source link

Server response codes / error-handling #144

Open tbtommyb opened 5 years ago

tbtommyb commented 5 years ago

It doesn't look like you are doing much input validation in the server or returning appropriate response codes in case of errors.

Having the util functions to handle error cases is really good but I think they'll always return a 200 OK so it's difficult for your client/browsers to handle failed requests properly.