Quick setup for getting started with firebase auth in a react application using the context API as an alternative to redux.
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,
})