By the end of this lesson, you will:
- Understand what Firebase is and why developers use it
- Create your first Firebase project
- Set up Firebase for web development
- Find and use your Firebase configuration
- Explore Firebase services through hands-on tutorials

:information_source: Info What is Firebase?
Firebase is a powerful cloud platform created by Google. It helps developers build web and mobile apps faster by providing ready-to-use backend services. Think of it as a toolkit that handles the behind-the-scenes work for your app!
Firebase offers more than 19 services used by over 1.5 million apps worldwide! The most popular services include:
- Realtime Database: Store and sync data instantly
- Authentication: Let users sign in easily
- Cloud Firestore: A flexible database for web apps
- Hosting: Deploy your app with one click
-
Build Apps Faster :rocket:
- Ready-made features mean less coding
- Focus on creating, not configuring
-
Backed by Google :emoji:️
- Enterprise-level security
- Reliable and always available
-
All-in-One Platform :art:
- Services work seamlessly together
- One dashboard to manage everything
note Prerequisites
You need a Google account to use Firebase. If you don't have one, create it for free at accounts.google.com!
To create backend services for your web app, follow these steps:
-
Create a Firebase Project :file_folder:
- Set up your project on the Firebase website
-
Configure for Web :emoji:
- Tell Firebase you're building a web application
-
Build with Codelabs :hammer_and_wrench:
- Use Firebase's interactive tutorial to learn by doing
Let's create your first Firebase project! Follow these simple steps:
-
Visit Firebase :emoji:
- Go to firebase.google.com
- Make sure you're signed in with your Google account
-
Access the Console :video_game:
- Click the "Go to console" button

- Start a New Project :sparkles:

- Name Your Project :memo:
- Enter a project name (be creative!)
- Click "Continue"

- Skip Analytics (For Now) ⏭️
- Uncheck "Enable Google Analytics for this project"
- Click "Create project"

tip Why Skip Analytics?
We skip analytics to keep things simple while learning. You can always add it later!
- Project Creation ⏳
- Wait for Firebase to set up your project
- Click "Continue" when ready

Now let's tell Firebase you're building a web app:
- Open Your Project :emoji:
- Click on the project you just created

- Choose Web Platform :emoji:
- Click the
</>
icon
- This tells Firebase you're making a web app

- Name Your App :emoji:️
- Enter an app nickname (any name you like!)
- Click "Register app"

- Select SDK Option :package:
- Choose "Use a
<script>
tag"
- Click "Continue to the console"

note SDK Options
The <script>
tag option is perfect for beginners. It's the simplest way to add Firebase to your web app!
Time to build something awesome! Firebase Codelabs provides an interactive tutorial to help you learn.
-
Your Starting Template :page_facing_up:
- Use this clean template: Firebase Web Template
- This template has no pre-written code - perfect for learning!
-
Tutorial Guide :books:
- Follow along with: Firebase Get to Know Web
- Use it as a reference guide only
tip Important!
Start with the clean StackBlitz template linked above. The tutorial's own template has pre-filled code that will confuse beginners!
Through this hands-on tutorial, you'll learn to use:
-
Firebase Hosting :rocket:
- Deploy your app to the internet
- Share it with friends and family
-
Firebase Authentication :emoji:
- Let users create accounts
- Add secure login features
-
Firestore Database :emoji:
- Save user information
- Retrieve data instantly
-
Real-time Updates :zap:
- See changes immediately
- No page refresh needed!
- Learn by Doing: Build a real app, not just read theory
- Browser-Based: No downloads or installations needed
- Guided Steps: Clear instructions for each feature
- Instant Results: See your code work immediately
- Professional Skills: Learn industry best practices
Every Firebase project has a unique configuration. Here's how to find yours:
- Access Project Settings :emoji:️
- Open your Firebase Console
- Click the settings gear icon
- Select "Project Settings"

- Locate Your Config :mag:
- Stay on the General tab
- Scroll down to find Firebase SDK snippet
- Select "Config" option
- Click Copy to save your configuration

- Use Your Config :clipboard:
- Paste this configuration when the tutorial asks for it
- Keep it safe - it's unique to your project!
note Success!
You've successfully set up Firebase! You're now ready to build amazing web applications with Firebase services.
:white_check_mark: Firebase Basics
- Firebase is Google's powerful platform for building apps
- It provides ready-to-use backend services
- Over 1.5 million apps use Firebase worldwide
:white_check_mark: Key Benefits
- Build apps faster with less code
- Enterprise-level security from Google
- All services work together seamlessly
:white_check_mark: Setup Process
- Create a Firebase project
- Configure it for web development
- Find and save your unique configuration
:white_check_mark: Learning Path
- Use Firebase Codelabs for hands-on learning
- Build real projects with StackBlitz
- Deploy your apps instantly
Watch these videos to reinforce your learning:
Test your understanding with these questions:
-
Why do developers choose Firebase?
- Think about the three main benefits we discussed
-
What do you need before starting with Firebase?
- Hint: It's related to Google
-
What are the three main steps to set up Firebase?
- Try to recall them in order
-
Where can you find your Firebase configuration?
- Remember the settings location
-
What will you build in the Codelabs tutorial?
- List at least three Firebase services you'll use
In the next lesson, we'll dive into Firebase Authentication - you'll learn how to add user login and registration to your apps!