Firebase Auth App

Setup

  1. Create a firebaseConfig.js file in the root of the project with the following content:

    const firebaseConfig = {
      apiKey: "YOUR_API_KEY",
      authDomain: "YOUR_AUTH_DOMAIN",
      projectId: "YOUR_PROJECT_ID",
      storageBucket: "YOUR_STORAGE_BUCKET",
      messagingSenderId: "YOUR_MESSAGING_SENDER_ID",
      appId: "YOUR_APP_ID",
    };
    
    export default firebaseConfig;

Run on localhost

  1. Install http-server globally if you haven't already:

    npm install -g http-server
  2. Serve the static site:

    http-server -p 8000 --cors