Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firebase set-up #20

Open
renatofilipov opened this issue Aug 18, 2021 · 2 comments
Open

Firebase set-up #20

renatofilipov opened this issue Aug 18, 2021 · 2 comments

Comments

@renatofilipov
Copy link

This project is FANTASTIC!

I'm just wondering, would you mind providing a step-by-step guide how to set-up and customize Firebase/Google APIs? That way, not only me (but other developers) would be able to customize their own systems

Thank you so much!!

@Farkadi06
Copy link

@renatofilipov If I am not mistaken to set-up Firebase, you simply create your own Firebase project and change the firebaseConfig in the App.js with your own configuration object .

@BernStrom
Copy link
Owner

Thanks, @renatofilipov! I did put a lot of work and spare time into making it somewhat appealing 😅

Yes, it is exactly what @Farkadi06 said. To set up your own Firebase, you first need to create your own Firebase account and project at https://firebase.google.com. As to how to set up a project, they have made the steps incredibly beginner and user-friendly so just follow the on-screen instructions while setting up.

Once your project is set up, you will get your own set of Firebase project settings which you will need to use to change the firebaseConfig settings in the App.js file.

These are Firebase settings you'll need to change inside the App.js file:

const firebaseConfig = {
  apiKey: 'AIzaSyAMOQP9M0--a-l6JDPF5wIXxSHtTd58BLw',
  authDomain: 'yummeals-e8d3d.firebaseapp.com',
  projectId: 'yummeals-e8d3d',
  storageBucket: 'yummeals-e8d3d.appspot.com',
  messagingSenderId: '572941448591',
  appId: '1:572941448591:web:9993d5c64e60e32232c7fa',
};

As for the Google APIs, I honestly could no longer remember the exact process of how I did it as this part of the app was something that took me a very long time to figure out myself while I was building it. What I do remember is it involves setting up an API key for the Places & Geocoding Maps APIs in your own Google Cloud account.

You'll also need to set up some Firebase Cloud functions in your Firebase account and this feature requires converting your Firebase account to the pay-as-you-go (Blaze) plan. For the Google Maps APIs and Firebase Cloud functions settings, you can find them under the functions folder of the project.

Apologies for the incredibly late reply and if I couldn't be more of a help in setting it up. However, do note that I'm no longer maintaining this project as I'm focusing on other technologies and development but will keep it on my GitHub for future reference.

Also, thanks @Farkadi06 for the help and reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants