fcc-google-api
Branches
master
: The current setup only accepts a Google login
npm dependencies
express
: Routing, Middlewaremongoose
: Schema models connected to MongoDBbody-parser
: Turns incoming requests into JSON datamorgan
: Logger for server messages during developmentnodemon
: Watches directory for file changes and automatically restarts server with new codebcrypt
: Encrypting and Decrypting passwordsjwt-simple
: Creates the web tokens we save to localStorage for authentication laterpassport
: A system that employs "Strategies" to assist in different types of authenticationpassport-jwt
: Passport Strategy for saving a Web token to represent a logged in userpassport-google-auth
: One of many Google Passport Strategies (this one worked in our flow)Locking down the dependencies' versions (now using .npmrc to just save current versions as I install new libraries, then I can leave as is when they work)shrinkwrap
:colors
: Colorize the terminal messages
References
- Udemy Course - React-Redux Full Stack with Oauth2.0 and JWT by Stephen Grider
- JSONPlaceholder - Fake Online REST API for Testing and Prototyping
- JSON Web Tokens - Industry standard
RFC 7519
method for representing claims securely between two parties. - npm react-google-login - Library used to build the GoogleLoginButton component for the client side of the OAuth2 flow through Google
- Deploying Node.js Apps on Heroku - Learn why we use the Procfile and maybe how to play with npm scripts and
heroku local dev