0
0
Firebasecloud~10 mins

Firebase Emulator Suite - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to start the Firebase Emulator Suite with Firestore emulator.

Firebase
firebase emulators:start --only [1]
Drag options to blanks, or click blank then click option'
Afunctions
Bdatabase
Chosting
Dfirestore
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'database' instead of 'firestore' which refers to the Realtime Database emulator.
Using 'hosting' or 'functions' which start other emulators.
2fill in blank
medium

Complete the code to configure the Firebase Emulator Suite to use the Authentication emulator on port 9099.

Firebase
firebase emulators:start --only auth --[1]=9099
Drag options to blanks, or click blank then click option'
AauthPort
Bport
Cauth-port
Dauth_port
Attempts:
3 left
💡 Hint
Common Mistakes
Using camelCase or underscores in the flag name which are not valid in CLI flags.
Using a generic --port flag which does not specify the service.
3fill in blank
hard

Fix the error in the Firebase Emulator Suite configuration file to correctly specify the Firestore emulator host and port.

Firebase
{
  "emulators": {
    "firestore": {
      "host": "[1]",
      "port": 8080
    }
  }
}
Drag options to blanks, or click blank then click option'
Alocalhost
B0.0.0.0
C127.0.0.1
Dfirebase
Attempts:
3 left
💡 Hint
Common Mistakes
Using 0.0.0.0 which listens on all interfaces but is not recommended here.
Using firebase which is not a valid hostname.
4fill in blank
hard

Fill both blanks to configure the Firebase Emulator Suite to start Firestore and Functions emulators.

Firebase
firebase emulators:start --only [1],[2]
Drag options to blanks, or click blank then click option'
Afirestore
Bdatabase
Cfunctions
Dhosting
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'database' instead of 'firestore' for Firestore emulator.
Using 'hosting' which starts the hosting emulator instead of functions.
5fill in blank
hard

Fill all three blanks to configure the Firebase Emulator Suite to start Firestore, Authentication, and Hosting emulators with their default ports.

Firebase
firebase emulators:start --only [1],[2],[3]
Drag options to blanks, or click blank then click option'
Afirestore
Bauth
Chosting
Dfunctions
Attempts:
3 left
💡 Hint
Common Mistakes
Including 'functions' which is not requested.
Using full service names instead of short emulator names.