labapi.net - New Sails App

Example domain paragraphs

Don't worry, we've got your back.

Run sails generate api user . This will create two files: a model api/models/User.js and a controller api/controllers/UserController.js .

Run sails lift to start up your app server. If you visit http://localhost:1337/user in your browser, you'll see a WebSocket-compatible user API.