/react-router-firebase-auth

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

Primary LanguageJavaScriptMIT LicenseMIT

Auth with React Router and Firebase

Starter kit for authentication and protected routes with React Router and Firebase.

Using React 15.3.X, React Router 2.6.X and Firebase 3.3.X

Features:

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

Instructions:

  • npm install
  • Put your Firebase app configurations to firebase.config.js file.
  • Run npm start an open http://127.0.0.1:8080/public in your browser