ayerhssb/Appointment-booking-app

Backend : Error messages hard-coded

Closed this issue · 4 comments

Hard coded error messages in controller and backend.
Solution - create a const.js file and add all the error msgs there and export it and call in codebase dynamically, this way we will need to update only in const.js file and it will reflect everywhere. Unless we will need to change everywhere.

Reference -
image

@ayerhssb assign it to me, i would like to work on it

@ayerhssb please assign this to me.
I have an approach to solve this

Hi @ayerhssb , this issue is resolved under #12 , please verify and merge