Giter VIP home page Giter VIP logo

apiauthenticationwithnode's Introduction

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!

apiauthenticationwithnode's People

Contributors

alaev avatar extremex avatar extremexr avatar

Watchers

code936 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.