In order to view this lesson, you must purchase this course.
Some developers might not like it, but I think of the best features that comes with Sails is the build in ORM tool called Waterline. This database tool allows us to easily fetch and create objects from our databases. In today's lesson, I'll start off customizing our server very simply by adding a custom route that lists out all the current users. Along the way, you'll be able to see that the print out in JSON is a little too overwhelming. Because of this, I'll show you how to omit data as well as customizing our User object JSON.