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
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)
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
HELP & SUPPORT