Getting started with #SailsJS - Part 3 - Sails Policies and #JWT
In the previous post, we added some validations and custom actions for sign up and login the user. In this post, we will include the implementation to generate the JWT token which has
A collection of 3 posts
In the previous post, we added some validations and custom actions for sign up and login the user. In this post, we will include the implementation to generate the JWT token which has
In the previous post we created a User collection using the in-built sails generators. This allows you to create, update, delete users. Note that currently the password is being stored in plain text
This post is intended to give an introduction to the SailsJS framework and assumes that the reader has some basic understanding of nodeJS and an understanding of the REST API specification. SailsJS -