Put your firebase config object as a string in .env within the key: REACT_APP_FIREBASE_CONFIG
See how it works here
Find and example below:
- Create .env file on your root app folder
- Put your firebase object config there:
REACT_APP_FIREBASE_CONFIG='{"apiKey":"AIzaSyBzPYr9nP2ZIdhcozxBOgF7_ANrTQ6hYOs","authDomain":"fir-react-d78d6.firebaseapp.com","projectId":"fir-react-d78d6","storageBucket":"fir-react-d78d6.appspot.com","messagingSenderId":"854170342122","appId":"1:854170342122:web:f5400f7c255764b79afd93","measurementId":"G-THZ0YD42KZ"}'