Chapter 13. Ratings, followers, and search
This chapter covers
- Creating a rating system for tutorials
- Understanding follower/following associations
- Building search into Brushfire
- Incorporating pagination for tutorials and a sorting mechanism for videos
You’re now well into your post-pivot journey that started in chapter 11. In chapter 12, you learned how to establish relationships between models using embedded values and Waterline associations. In this chapter, you’ll build on that knowledge to implement other requirements of Brushfire, including adding videos, rating content, following users, searching, and more. We’ll end with a review of policies and restrictions in actions that manage access to various features. So let’s get started. ...
Get Sails.js in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.