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,[2] Sails.js provides an object-relational mapping interface using Waterline.js, which abstracts the database interaction layer.[6]