An example of how to combine angular and sails with JWT authentication

Added by: Sam Deering





Stars: 95

Watchers: 95

Forks: 29

Module Description

Angular Messages

Angular Messages is a demo application to show how to implement JWT authentication with a Sails backend and an Angular frontend.

If you want to try it, you need to do the following:

Install the latest sails beta if you don't have it:

$ sudo npm install -g [email protected]

Then, inside this app folder:

$ npm install
$ sails lift

Register yourself and write some messages.


  • integration.
  • Maybe different levels of authorization (i.e admin).
  • Token expiration.
  • Write a proper article about JWT and another about this demo.

Module stats last updated: 2017-11-16 16:00:05

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!