Skip to content

This is a client (react - redux ) server (NodeJS) API with Oauth2

Notifications You must be signed in to change notification settings

clio19/NodeAuthAPi

Repository files navigation

NodeAuthAPI

This is a client (react) server (Node) API

API Authentication with the MERN Stack

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

M - Mongo E - Express R - React N - NodeJS

Build Status

This is the project files for tecdreams's API Authentication with Node.

  • Phase I - Backend

  • Phase II - Frontend

  • Phase III - Improvements!

    • Link Facebook and Google to local Account
    • Change localstorage to Session Cookies
      • Backend sends cookie after auth
      • Cokie is set to be httpOnly
      • FrontEnd checks is user is Auth on refresh page or load

To view this branch simply clone this git repo

$ git clone https://github.com/clio19/NodeAuthAPi

then checkout the branch as follow

$ git checkout 'branch_name'

This project uses async/await it would be best if you use node 10+ 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

Check npm updates (Globally)

$ npm i -g npm-check-updates

or

$ npx npm-check-updates

Security Policy

Supported Versions

Version Supported
5.1.x
5.0.x
4.0.x
< 4.0
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

Thank You For your Visit!

About

This is a client (react - redux ) server (NodeJS) API with Oauth2

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published