Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Firebase Auth with React Hooks

A simple example app showcasing how to use firebase with react hooks

Setup

You will need to setup a GCP/Firebase account and create a project for authorization to work

Then add an .env file with the following config which can be retreived from your Firebase console

REACT_APP_FIREBASE_PUBLIC_API_KEY=
REACT_APP_FIREBASE_AUTH_DOMAIN=
REACT_APP_FIREBASE_DATABASE_URL=
REACT_APP_FIREBASE_PROJECT_ID=
REACT_APP_FIREBASE_MEASUREMENT_ID=

Running

yarn start

Contributing

Any improvements welcome

Some areas to improve/expand:

  • Example getting/saving data using the hooks
  • Tests
  • Include signin/logout in styled header

About

No description, website, or topics provided.

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages