0
0
Firebasecloud~30 mins

Firebase services overview - Mini Project: Build & Apply

Choose your learning style9 modes available
Firebase Services Overview
📖 Scenario: You are building a simple Firebase project to understand how different Firebase services work together. This project will help you set up basic Firebase services and see how they connect in a real app.
🎯 Goal: Create a Firebase project configuration with initial services setup including Authentication, Firestore database, and Cloud Storage. You will define the project data, add configuration variables, implement core service initialization, and finalize the Firebase app setup.
📋 What You'll Learn
Create a Firebase configuration dictionary with exact keys and values
Add a variable for Firebase project ID
Initialize Firebase services using the configuration
Complete the Firebase app initialization with all services connected
💡 Why This Matters
🌍 Real World
Firebase is widely used to build mobile and web apps with backend services like authentication, database, and storage without managing servers.
💼 Career
Understanding Firebase services setup is essential for roles in cloud development, mobile app development, and backend engineering using serverless platforms.
Progress0 / 4 steps
1
Create Firebase configuration dictionary
Create a dictionary called firebase_config with these exact entries: apiKey set to "AIzaSyA-1234567890abcdef", authDomain set to "myapp.firebaseapp.com", projectId set to "myapp-12345", storageBucket set to "myapp.appspot.com", messagingSenderId set to "1234567890", and appId set to "1:1234567890:web:abcdef123456".
Firebase
Need a hint?

Use a Python dictionary with the exact keys and string values as shown.

2
Add Firebase project ID variable
Create a variable called project_id and set it to the string "myapp-12345".
Firebase
Need a hint?

Assign the exact string to the variable project_id.

3
Initialize Firebase services
Write code to initialize Firebase Authentication, Firestore, and Storage services using the firebase_config dictionary. Use variables named auth, db, and storage respectively.
Firebase
Need a hint?

Assign strings indicating initialization to auth, db, and storage variables to simulate service setup.

4
Complete Firebase app setup
Create a variable called firebase_app and set it to a dictionary containing the keys "config", "auth", "db", and "storage" with their corresponding variables firebase_config, auth, db, and storage as values.
Firebase
Need a hint?

Combine all previous variables into one dictionary named firebase_app.