Firebase Configuration
Setting up Firebase for your Closer Dating App Project
Create A New Firebase Project
Step 1
Follow the link to create firebase project Firebase:
Setp 2
After completing the project, you will be presented with this type of
dashboard.
Setp 3
chose web to create project for website
Setp 4
Go to project setting then copy the firebase config.
Setp 5
Past the firebase config file as show in photo below under the file resources/views/components/layouts/user-app.blade.php
Setp 6
This step is for the notifications. We need google credentials. Please go to (google cloud)[https://console.cloud.google.com/apis] then chose the proejct that you created in friebase console.
You have to create service account
under the Credentials
as shown in picture below.
You can give any name you want. Then click done
.
Then you will get the Service account eamil. Click on it.
Then go to Keys
tap and click on Add key
and chose Json
. After that you will get google aut json
file. Copy this json file.
Setp 8
Go to storage/app/
and past that json file. You may rename example firebase-auth.json
.
After that go to .env again. And past you firebase-auth.json path as shown in photo.
Setp 9
Congratulation 🎉 you can go to next step.