# joshgeller/react-redux-jwt-auth-example

Sample project showing possible authentication flow using React, Redux, React-Router, and JWT

Repository: https://github.com/joshgeller/react-redux-jwt-auth-example
Canonical: https://ross.abutalabs.com/products/react-redux-jwt-auth-example
Language: JavaScript
License: MIT
License Family: permissive
Archived: true
Last push: 2018-09-17T08:49:29+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3958, "days_push": 2907, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1567, forks 232 (observed 2026-08-28T04:05:04.973314+00:00)

## What it is
A sample project demonstrating a client-side JWT authentication flow using React, Redux, React-Router, and a higher-order component to protect views. It includes a demo server with hard-coded endpoints purely for illustration.

## Use cases
- learn how to implement JWT auth in a React Redux app
- example of protecting routes with a higher-order component
- understand login flow with redux action creators
- see how to redirect unauthenticated users to login
- reference for decoding JWT payload into redux state
- starter example for react-router authentication redirects

## When to choose
- you want a conceptual walkthrough of JWT auth with React and Redux
- you are learning how higher-order components can guard protected views
- you need a simple reference for wiring login actions to redux state

## When to avoid
- you need a production-ready or maintained authentication solution
- you want current best practices with modern React (hooks, context)
- you need a secure backend server implementation
- you expect active maintenance or accepted contributions

## Facets
- artifact type: learning-resource
- maturity: abandoned
- function: auth, state-management, routing, http-client
- domain: web-development, frontend, security, developer-tools
- platform: cross-platform
- tags: jwt, react, redux, react-router, example-project, authentication-flow, higher-order-component, tutorial, nodejs, web-server

## Member repositories
- joshgeller/react-redux-jwt-auth-example (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:04.973314+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:59:00.891866+00:00, confidence not recorded.
  - readme: https://github.com/joshgeller/react-redux-jwt-auth-example (fetched 2026-08-28T04:05:04.973314+00:00, sha 477ff0a4141e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
