0
0
Firebasecloud~15 mins

Firebase vs AWS vs Supabase comparison - Hands-On Comparison

Choose your learning style9 modes available
Firebase vs AWS vs Supabase Comparison
📖 Scenario: You are a developer deciding which cloud backend service to use for your new mobile app. You want to compare Firebase, AWS, and Supabase to understand their features and differences.
🎯 Goal: Create a simple data structure that lists key features of Firebase, AWS, and Supabase. Then add a configuration variable to select a service. Next, write code to extract the features of the selected service. Finally, complete the setup by adding a summary of the chosen service.
📋 What You'll Learn
Create a dictionary named services with keys 'Firebase', 'AWS', and 'Supabase' and their feature lists as values
Add a variable named selected_service set to 'Firebase'
Write code to get the features of the selected_service from services into a variable named features
Add a variable named summary that describes the selected service using selected_service and features
💡 Why This Matters
🌍 Real World
Developers often compare cloud backend services to choose the best fit for their app's needs.
💼 Career
Understanding cloud service features and how to organize them in code is essential for cloud architects and developers.
Progress0 / 4 steps
1
Create the services dictionary
Create a dictionary called services with these exact keys and values: 'Firebase' with value ['Realtime Database', 'Authentication', 'Hosting'], 'AWS' with value ['EC2', 'S3', 'Lambda'], and 'Supabase' with value ['PostgreSQL', 'Realtime', 'Authentication'].
Firebase
Need a hint?

Use a dictionary with keys as service names and values as lists of features.

2
Add selected service variable
Add a variable called selected_service and set it to the string 'Firebase'.
Firebase
Need a hint?

Assign the string 'Firebase' to the variable selected_service.

3
Extract features of selected service
Write code to get the features list of the selected_service from the services dictionary and store it in a variable called features.
Firebase
Need a hint?

Use the selected_service variable as a key to get the features from the services dictionary.

4
Add summary of the selected service
Add a variable called summary that is a string describing the selected service and its features. Use an f-string with selected_service and features to create the summary.
Firebase
Need a hint?

Use an f-string to combine the selected_service and features into a descriptive summary.