Modern Full-Stack Starter/Tutorial Using React/Redux/Node/Mongoose.
This is the project files for CodeWorkr's API Authentication with Node series on YouTube. Series link: YouTube Playlist
- Introduction
- Cookies vs Tokens
- Node/Express API Setup
- Server-Side Validation
- MongoDB/Mongoose
- JSON Web Tokens
- Passport and Strategies
- Bcrypt Explained
- OAuth Explained
- Unit Testing
- Google OAuth
- Facebook OAuth
- React Setup
- React UI with Routing
- Adding Redux and Redux Form
- Action Creators, Actions and Reducers
- Google & Facebook OAuth Integration
- React Higher Order Components
- Improving - Introduction
- Improving - Updating Dependencies
- Improving - Linking Accounts
- Improving - Storing JWTs in Cookies
$ git clone https://github.com/eXtremeXR/APIAuthenticationWithNode.gitthen 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 installinstalling using yarn
$ yarn installTo run the project use
$ npm run start-devstarting the project using yarn
$ yarn start-devrun unit tests
$ yarn testgenarate code coverage report
$ yarn reportrun unit tests with nyc output in terminal
$ yarn nycrun unit tests with nyc summery report
$ yarn text-report| 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 |