Open In App

Sails.js Basics and Installation

Node.js: Node.js is an open-source and cross-platform runtime environment for executing JavaScript code outside a browser. You need to remember that NodeJS is not a framework and it’s not a programming language. Most of the people are confused and understand it’s a framework or a programming language. We often use Node.js for building back-end services like APIs like Web App or Mobile App.

Sails.js: Sails.js is a Node.js framework that is built on top of Express.js and a real-time Model-View-Controller(MVC) framework for Node.js. Sails are alike to Ruby on Rails. It enables developers to rapidly assemble REST APIs, single-page apps, and many more. Sails.js is a flawless JavaScript solution that underpins varied front-end technologies and multiple databases concurrently.



Creating a basic Sails.js App via NPM(Node Package Manager)

Reference: https://sailsjs.com/get-started

Article Tags :