Projetos
Ver no GitHub
tylermcginnis/react-router-firebase-auth
Sobre
Exemplo de como criar rotas protegidas com Firebase e React Router.
Desenvolvimento web e de aplicativosO que você pode fazer
- Protected Routes with React Router
- Register new users with Firebase
- Add new users to /users in your Firebase database
- Login/Logout Functionality
Crescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginalAuth with React Router V4 and Firebase V3
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
Features:
- Protected Routes with React Router
- Register new users with Firebase
- Add new users to
/usersin your Firebase database - Login/Logout Functionality
- Simple Boostrap UI
Instructions:
- Swap out the firebase config in
config/constantswith your own npm installnpm start- Visit
localhost:3000
Try it out in a Docker container:
- Run a container running the prod version:
docker run -p 8080:80 -d allthethings/react-router-firebase-auth - Or build a dev version, locally:
docker build -t react-router-firebase-auth . - Then run the image (listens for changes to src):
docker run -v "$(pwd)/src:/code/src" -p 3000:3000 -d --name react-router-firebase-auth react-router-firebase-auth
Explore projetos relacionados
Carregando…