Login required for access
In order to watch this lesson, you'll need to login to the website.
Custom JSON and Waterline User Model
Fullstack Social iOS NodeJS REST
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.

Comments (8)
Setwork44
4 years ago
Setwork44
4 years ago
AlfieLBTA
4 years ago
Brian Voong
4 years ago
Chauncey
4 years ago
julioest
5 years ago
Brian Voong
5 years ago
ddramond
5 years ago
ddramond
5 years ago
pdefilippi
5 years ago
pdefilippi
5 years ago
Brian Voong
5 years ago
objcxcode
5 years ago
Brian Voong
5 years ago
Mohammed Salem
5 years ago
Brian Voong
5 years ago
Maxnelson997
5 years ago
Brian Voong
5 years ago
Please contact admin@letsbuildthatapp.com if you have any issues.
HELP & SUPPORT