A user on the Laracasts forum recently requested help creating a star-rating system. You've surely seen these many times: choose from one to five stars, and your score will be included in the overall average rating. Let's learn how to build such a component over the next two episodes. We'll start on the backend by fleshing out our desired API.
View the source code for this episode on GitHub.