Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 615 Bytes

File metadata and controls

27 lines (18 loc) · 615 Bytes

Angular Messages

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

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 sails@beta

Then, inside this app folder:

$ npm install
$ sails lift

Register yourself and write some messages.

TODO:

  • Socket.io integration.
  • Maybe different levels of authorization (i.e admin).
  • Token expiration.