Last Updated: September 09, 2019
·
3.165K
· greelgorke

Sails.js - REST API in few keystrokes*

Sails.js

this says it best:

  • Automatically generated JSON API for manipulating models means you don't have to write any backend code to build simple database apps
  • Built-in authentication, role-based access control, and customizable policies assignable at the controller/action level
  • Transport agnostic routing: Sails controllers also handle Socket.io / WebSocket messages. This makes it much easier to send the server-originated or 'comet' notifications you need for features like chat, realtime analytics, and multiplayer games.
  • Automatic asset minification with Rigging: Your UI code is automatically included in development mode, and minified into a simple, gzipped file in production.

looks pretty awesome to me. i totally give it a try.

*more code may be needed to model relationships

2 Responses
Add your response

For rapid prototyping and a great experience I highly recommend also looking at http://deployd.com/ (seems to be a bit simpler than sails.js, but it's still a really amazing and powerful tool)

over 1 year ago ·

@maciejsmolinski this looks amazing at the first sight, thanks for the pointer

over 1 year ago ·

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

JavaScript on a page runs with the privileges of that origin. One altered library, tag manager, or snippet can read inputs, change what people see, and call your APIs as the user.

Security insights from Cside