Edit Page

api/models/

This is the directory that holds your models. In Sails, models are the structures that contain data for your Sails App.

You can learn more about how to define and use models in Concepts > Models and ORM > Models, and about how to generate them here.

Want to see for yourself?

An example of this directory can be found in our sample app repo, here.

Anatomy of a Sails App