Skip to content

Example of how to have protected routes with Firebase and React Router.

Notifications You must be signed in to change notification settings

sivaraj-v/react-router-firebase-auth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auth with React Router V4 and Firebase V3

This is an example repo for authenticating with Firebase and React Router.

Using React 15.4.0, React Router 4, and Firebase 3.6.1

Features:

  • Protected Routes with React Router
  • Register new users with Firebase
  • Add new users to /users in your Firebase database
  • Login/Logout Functionality
  • Simple Boostrap UI

Instructions:

  • Swap out the firebase config in config/constants with your own
  • npm install
  • npm start
  • Visit localhost:3000

About

Example of how to have protected routes with Firebase and React Router.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.2%
  • HTML 12.1%
  • CSS 0.7%