Skip to content

Foxandxss/sails-angular-jwt-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published