Add new fields to API backend schema: bookmark count and average star rating. These fields are used for sorting the catalog.
Add code hooks to
- increase/decrease bookmark count based on user action (when user adds or removes a bookmark)
- calculate the average star rating and modify the number in the field (when another user rates an API or changes the rating)