Sails.js is built on Node.js and Express.js, enabling applications to be written in JavaScript. This includes models, views, controllers, configuration files, and adapters (e.g., database). Similar to Ruby on Rails,7 Sails.js provides an object-relational mapping interface using Waterline.js, which abstracts the database interaction layer.8
A number of other packages are included to enable fast auto-generated REST APIs, WebSockets by default using Socket.io;9 and compatibility features making it front-end agnostic (AngularJS, React.js, Android, iOS, etc.).
Krol, Jason (2014). Web Development with MongoDB and Node.js. Packt. pp. PT455. ISBN 9781783987313 – via Google Books (Preview). 9781783987313 ↩
Shahid, Shaikh (2016). Sails.js Essentials. Birmingham, UK: Packt. ISBN 9781783554546. OCLC 944986529 – via Google Books (Preview). 9781783554546 ↩
"Sails.js | Realtime MVC Framework for Node.js". The Sails Company. Retrieved 21 July 2017. https://sailsjs.com ↩
"sails". npm, inc. Retrieved 21 July 2017. https://www.npmjs.com/package/sails ↩
"Waterline.js home page". http://waterlinejs.org/ ↩