Skip to content

sanjay493/APIAuthenticationWithNode

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Authentication with Node

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

Build Status

Phase one

  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 two

  1. React Setup
  2. React UI with Routing

Series link: YouTube Playlist

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

Languages

  • HTML 68.5%
  • JavaScript 28.2%
  • CSS 3.3%