sails
MVC web framework for Node.js
TLDR
SYNOPSIS
sails command [options] [args]
DESCRIPTION
Sails.js is an MVC web framework for Node.js, inspired by Ruby on Rails. It provides conventions and scaffolding for rapidly building REST APIs and web applications with a familiar structure of models, views, and controllers.A standout feature is Blueprints, which auto-generate RESTful API endpoints for models with full CRUD operations. Combined with the Waterline ORM, which supports MySQL, PostgreSQL, MongoDB, and other databases through a unified interface, applications can be prototyped with minimal code.Built-in Socket.io integration enables real-time features, allowing Blueprint routes to work over both HTTP and WebSockets. Policies provide middleware-like access control for protecting routes and enforcing authentication.
PARAMETERS
new NAME
Create new app.lift
Start server.generate TYPE NAME
Generate component.console
Interactive REPL.debug
Start app in debug mode.--version
Show installed Sails version.--port PORT
Set server port.--prod
Start in production mode.
CAVEATS
Framework has learning curve. Configuration can be complex. Performance tuning may be needed.
HISTORY
Sails.js was created by Mike McNeil and released in 2012. Inspired by Rails, it brings convention-over-configuration to Node.js development.
