Skip to main content

Firebase Setup

This guide will show you how to set up Firebase for the eMarket website.

How to set up firebase config for website?​

  1. First, create your Firebase app by following these steps:

  2. Open the Firebase Console and access your eMarket project.

  3. Follow these steps to add a web app to your Firebase project:

    Firebase Step 1

    Firebase Step 2

    Firebase Step 3

    Firebase Step 4

  4. Provide your app a nickname:

    Firebase Step 5

  5. Copy the Firebase configuration values one by one:

    Firebase Settings 5

  6. Download the Firebase JSON file if needed:

    Firebase Settings 4

  7. Copy and paste each value into your project configuration:

    Firebase Settings 6

  8. Copy the firebaseConfig object and click "Continue to console":

    Firebase Step 6

  9. Add your domain to Firebase for OTP functionality:

    Add Domain for Firebase OTP

note

If you want to set up the web first, steps 5, 6, and 7 are mandatory; otherwise, you can skip them.