Skip to content

Angular and Node app that demonstrates JSON Web Token Authentication with Angular js client on one heroku account and the service on on the other.

Notifications You must be signed in to change notification settings

rsgrafx/JWT-node-angular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JWT - Json Web Token Authentication with Node and Angular.

  • This application demonstrates Json Web Token based authentication with Node as a backend and an Angluar front end.

  • In order to demo app - pull down repo. Launch client ( same app on one port ) - and Server with node server.js ( port 5100 )

See Client branch

#### Service => https://stormy-beyond-9592.herokuapp.com/ See Server branch

  • TODO: Refactor the application.js

  • Errors Are logged to the console.

Login with: Username: testuser@gmail.com / Password: 1234

  • User is not saved to db:

TODO:

  • Add mongoose.

Great Links on JWT with angular. Why write a readme when they explain things with much more clarity and detail. Read on:

https://auth0.com/blog/2014/01/07/angularjs-authentication-with-cookies-vs-token/

http://code.tutsplus.com/tutorials/token-based-authentication-with-angularjs-nodejs--cms-22543

About

Angular and Node app that demonstrates JSON Web Token Authentication with Angular js client on one heroku account and the service on on the other.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published