Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 746 Bytes

File metadata and controls

31 lines (21 loc) · 746 Bytes

Firebase authentication boilerplate with hooks!

Quick setup for getting started with firebase auth in a react application using the context API as an alternative to redux.

Thumbnail

This project uses :

usage :

Replace the current firebase config by yours, and place data in a .env file, ex :

.env

REACT_APP_API_KEY='YOUR_KEY'

firebase.js

const app = firebase.initializeApp({
    apiKey: process.env.REACT_APP_API_KEY,
    ...rest,
})