Example of how to have protected routes with Firebase and React Router.
This is an example repo for authenticating with Firebase and React Router.
For more info, visit Protected routes and authentication with React Router v4
Using React 15.4.0, React Router 4, and Firebase 3.6.1
/users
in your Firebase databaseconfig/constants
with your ownnpm install
npm start
localhost:3000
docker run -p 8080:80 -d allthethings/react-router-firebase-auth
docker build -t react-router-firebase-auth .
docker run -v "$(pwd)/src:/code/src" -p 3000:3000 -d --name react-router-firebase-auth react-router-firebase-auth