Skip to content

Simple demonstration of authentication and authorization in React.

Notifications You must be signed in to change notification settings

LinguaTechnica/react_auth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Routing with Auth

There are 2 branches to review: basic-routes and auth-routes.

Basic Routes

Extremely simplified demonstration of configuring routing for your site.

Auth Routes

Simplified demo of adding authentication and authorization to your routes.

Instructions Download and install the app. Then open it in your browser.

  • Open your React Console in the browser and open up the components.
  • Open the <App /> component in the console.
  • You'll see the toggles for turning auth on and off. Toggle it.

This will show you links appearing and disappearing based on auth status!

Note: This demo does NOT hit a live api. Students will need to plug that in themselves.

About

Simple demonstration of authentication and authorization in React.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.8%
  • HTML 20.5%
  • CSS 5.7%