Skip to content

eXtremeXR/APIAuthenticationWithNode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Authentication with Node

Modern Full-Stack Starter/Tutorial Using React/Redux/Node/Mongoose.

Build Status

This is the project files for CodeWorkr's API Authentication with Node series on YouTube. Series link: YouTube Playlist

Phase I - Backend

  1. Introduction
  2. Cookies vs Tokens
  3. Node/Express API Setup
  4. Server-Side Validation
  5. MongoDB/Mongoose
  6. JSON Web Tokens
  7. Passport and Strategies
  8. Bcrypt Explained
  9. OAuth Explained
  10. Unit Testing
  11. Google OAuth
  12. Facebook OAuth

Phase II - Frontend

  1. React Setup
  2. React UI with Routing
  3. Adding Redux and Redux Form
  4. Action Creators, Actions and Reducers
  5. Google & Facebook OAuth Integration
  6. React Higher Order Components

Phase III - Improvements!

  1. Improving - Introduction
  2. Improving - Updating Dependencies
  3. Improving - Linking Accounts
  4. Improving - Storing JWTs in Cookies

To view desired branch for each episode simply clone this git repo

$ git clone https://github.com/eXtremeXR/APIAuthenticationWithNode.git

then checkout the branch as follow

$ git checkout 'branch_name'

This project uses async/await it would be best if you use node 8+ after checkout be sure to run

$ npm install

installing using yarn

$ yarn install

To run the project use

$ npm run start-dev

starting the project using yarn

$ yarn start-dev

run unit tests

$ yarn test

genarate code coverage report

$ yarn report

run unit tests with nyc output in terminal

$ yarn nyc

run unit tests with nyc summery report

$ yarn text-report
Code Coverage
File % Stmts % Branch % Funcs % Lines Uncovered Lines
All files 100 100 100 100
controllers 100 100 100 100
users.js 100 100 100 100
routes 100 100 100 100
users.js 100 100 100 100

Happy Coding!

About

Project files for "API Authentication with Node" course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published