Create a .env.local file in root directory. Not in src directory
REACT_APP_APIKEY=
REACT_APP_AUTHDOMAIN=
REACT_APP_DATABASEURL=
REACT_APP_PROJECTID=
REACT_APP_STORAGEBUCKET=
REACT_APP_MESSAGINGSENDERID=
REACT_APP_APPID=
REACT_APP_MEASUREMENTID=
The structure of the key is in the following format paste your key in the given format. Project is using Firebase as a database.
Steps for connecting to database:-
- Go to firebase console, create new project
- Click on </> icon to create a database for the web app
- You'll get api-key in the above format just paste the keys with thier values
- You are ready now!