Skip to content

Instantly share code, notes, and snippets.

@loriculberson
Last active April 4, 2020 05:37
Show Gist options
  • Select an option

  • Save loriculberson/2d4d8415a30bc71c747af3660600cd4c to your computer and use it in GitHub Desktop.

Select an option

Save loriculberson/2d4d8415a30bc71c747af3660600cd4c to your computer and use it in GitHub Desktop.
Firebase Project Down and Dirty

Create: Project, Database & App

Create Project

  1. + Add project
  2. Add project name -> analytics -> select your account -> click "Create project" -> Wait, then click "Continue"

Create Database for the Project

  1. Scroll down page and under heading "Realtime Database", click "Create database"
  2. Select "Start in test mode" -> "Enable"

Create App belongs to the Project

  1. Click "Project Overview" (upper left corner) or hamburger menu, then the "Project Settings"
  2. Under "Your apps" -> Click </> to "Add Firebase to your web app" -> Name your web app -> Register app
  3. IMPORTANT: copy only the key:value pairs inside of the config settings. Then paste them inside of the config object in your JavaScript.
  4. Click "Continue to console" button
  5. Sanity check: Click on database from hamburger menu. Make sure in the dropdown that Realtime is selected. Under the rules, make sure they have the value of true for "read" and "write". Then click "Publish"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment