I have a doctor app and I want the users to be able to rate the doctor on the doctor’s page and I want to show the average rating of the doctor out of 5 on the same doctor page
so it’s like this, on the doctor profile page there is a rating preview that updates each time the rating changes and an add rating button using the star rating component.
can anyone please help with this cuz the star rating component is not that easy to implement for beginners and there is not much content explaining it out there.