solomon-bush / react-node-jwt-auth

A simple React Client served from a Node server using JWT for authentication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started

  1. Clone or download Repo
  2. From the root dir, run npm install
  3. From the root client dir, run npm start
  4. From the root server dir, run npm start
  5. Enjoy

About the App

The app is an authentication API Server and Login Page Client.

It demonstrates how JWT is used, consumed, validated and stored.

ScreenShots

On First Load

On First Load

Failed Login

Failed Login

Success Login

Success Login

Reload Page & Refresh Token

Reload Page & Refresh Token

To Do List

  • Handle Storage
  • Add Timer
  • Handle Timeout
  • Handle Logout
  • Hanlde Refresh

About

A simple React Client served from a Node server using JWT for authentication


Languages

Language:JavaScript 90.8%Language:HTML 7.7%Language:CSS 1.5%