{ sailsit }

Sails Js Tutorials for Beginners and Forum

Have a Question?

If you have any question you can ask below or enter what you are looking for!

All posts tagged authentication

Sails – Working with Policies

1. Creating SailsJs Project Follow the below tutorial for setting up SailsJs Setting up sails project 2. Creating Controller Generate a controller using the below command sails generate controller User copy the below code and paste in api/controllers/UserController.js module.exports = { policiesValidation: function (req, res) { res.send({ success: true, message: . . . Read more