SlideShare a Scribd company logo
Getting started with
Firebase
@rorypreddy
Meet Rory
• Developer in R&D team at BBD
• Organizer for the Java and AWS User groups
• Not related to Tyrion Lannister
• Don’t do kids parties
@rorypreddy
Getting started with Firebase
Getting started with Firebase
• History of the Cloud and Firebase
• Creating a Firebase App
• Using Firebase in an Angular App
• Deploying and version control
Agenda
Cloud Computing
Cloud computing is a model for enabling convenient, on-
demand network access to a shared pool of configurable
computing resources (e.g., networks, servers, storage,
applications, and services) that can be rapidly
provisioned and released with minimal management
effort or service provider interaction.
https://nvlpubs.nist.gov/nistpubs/legacy/sp/nistspecialpublication800-145.pdf
Benefits of Cloud Computing:
• Cost
• Global Scale
• Reliability
• Speed and Performance
• Productivity
Getting started with Firebase
Deployment models
• Public cloud
• Private cloud
• Hybrid cloud
Tactic SolutionNew IT realityOld IT Implementation
Getting started with Firebase
History of firebase
• Originally firebase was online chat message integration service.
• Later the real time architecture was separated to create firebase
database in 2012.
• Firebase surfaced as a popular choice when Parse.com went down.
• Google acquired firebase in 2014 and added a whole lot of features
in Google IO-2016.
• Firebase is now a complete cloud solution.
Getting started with Firebase
Firebase Hosting
• Firebase hosting provides a fast and secure static hosting for
your web app.
• It is a production grade web content hosting.
• CDN edges around the world
• Hosting gives a subdomain of “firebaseapp.com”
• You can also get a custom domain.
• Free SSL certificate
• Install firebase CLI
• Also suited for SPA/Progressive web apps
• Version controlled
Not Suited For
• Dynamic web pages (Node.js)
• use Cloud functions with Node.js instead
• Server-Side Applications (PHP, JAVA, and so on)
• use Google Cloud Platform instead
• Authentication
• use Firebase Auth instead
• Authorization
• use Real Time and Storage security rules instead
• Heavy files
• Firebase Storage recommended
Pricing
Firebase console
• Google has several "consoles".
• These are webpages to control varying things.
• Other Examples:
• https://partner.android.com/things/console#/ android things
• https://console.developers.google.com/apis/ for apis like maps
• https://developers.google.com/beacons/dashboard/ for beacons
• Firebase has its own as well:
• https://console.firebase.google.com/
• Create a Firebase account and a Firebase
app - https://firebase.google.com
• Links your google account
• Optionally link a google cloud account
– The Firebase SDKs for Cloud Storage store files
directly in Google Cloud Storage buckets
Firebaseaccount
Deploy Your site
1. Install node and npm.
2. Install firebase CLI
➢ npm install –g firebase-tools
3. Initialize your app
➢ firebase login
• Link your google account
➢ firebase init
4. Set root folder and put your static content there.
➢ firebase serve
5. Deploy
➢ firebase deploy
Your app will be hosted at “subdomain”.firebase-app.com
Demo
https://github.com/roryp/basic_css_js_website
Creating an Angular App
Creating an Angular App
• npm install -g @angular/cli
• ng new wtc
• cd wtc
• ng serve --open
Creating an Angular App
• firebase init
➢Which Firebase CLI features?
➢Hosting
➢Select a default Firebase project?
➢Angular Hosting Test
➢What do you want to use as your public directory?
➢distwtc
➢Configure as a single-page app?
➢Yes
Creating an Angular App
• ng build –prod
• firebase deploy
–Deploys distwtc
• firebase open hosting:site
Creating an Angular App
Getting started with Firebase
Demo
References
• https://console.firebase.google.com/
• https://firebase.google.com/docs/
• https://github.com/roryp/basic_css_js_website
• Code lab: Friendly Chat web app (about 1ish hours)
• https://codelabs.developers.google.com/codelabs/firebase-web/index.html
• Covers database, storage, auth, messaging, firebase notifications..

More Related Content

PPTX
Firebase overview - droids4 droids Lima, Perú
PPTX
Discover Google Firebase Platform
PDF
Introduction to Firebase from Google
PPTX
Introducing firebase
PPTX
What is new in Firebase?
PPTX
Firebase
PPTX
Getting Started with Firebase Cloud Functions
PDF
Firebase hosting
Firebase overview - droids4 droids Lima, Perú
Discover Google Firebase Platform
Introduction to Firebase from Google
Introducing firebase
What is new in Firebase?
Firebase
Getting Started with Firebase Cloud Functions
Firebase hosting

What's hot (20)

PDF
Firebase on Android: The Big Picture
PDF
The Firebase tier for your mobile app - DevFest CH
PPTX
Introduction to Firebase
PPTX
PPTX
Firebase
PPTX
Google Firebase
PPTX
Firebase
PPTX
Firebase Android
PPTX
Google Firebase Presentation
PDF
Google Firebase presentation - English
PPTX
Firebase PPT
PDF
Introduction, Examples - Firebase
PDF
Building Extraordinary Apps with Firebase Analytics
PPTX
PDF
I've (probably) been using Google App Engine for a week longer than you have
PPTX
Firebase Overview
PPTX
Firebase in action
PPTX
Firebase Authentication with Android
PPTX
Firebase Cloud Functions
PPTX
Firebase Introduction
Firebase on Android: The Big Picture
The Firebase tier for your mobile app - DevFest CH
Introduction to Firebase
Firebase
Google Firebase
Firebase
Firebase Android
Google Firebase Presentation
Google Firebase presentation - English
Firebase PPT
Introduction, Examples - Firebase
Building Extraordinary Apps with Firebase Analytics
I've (probably) been using Google App Engine for a week longer than you have
Firebase Overview
Firebase in action
Firebase Authentication with Android
Firebase Cloud Functions
Firebase Introduction
Ad

Similar to Getting started with Firebase (20)

PPTX
Firebasics
PDF
Google IO Extended 2018 Codelabs - Google Developer Philippines
PDF
Firebase Basics - Dialog Demo for Group Tech Staff
PPTX
Firebase - cloud based real time database
PPTX
Introduction to Firebase (A Platform for developing apps) .pptx
PDF
Firebase Adventures - Real time platform for your apps
PDF
Firebase Tech Talk By Atlogys
PDF
Deploy Firebase Backend as a Service Model for Application Development
PDF
Database, data storage, hosting with Firebase
PPT
Firebase presentation
PDF
Firebase_not_really_yohoho
PPTX
Ng firebasecrud
PDF
Firebase in action 2021
PDF
How to deploy angular 12 application using firebase hosting
PPTX
Tk2323 lecture 8 firebase
PDF
Mobile Programming - 10 Firebase
PPTX
Building A Webb App with Firebase and Angular 2
PPTX
Firebase not really_yohoho
PPTX
Introducing-Firebase.pptxehehshhdhdhdhdhhd
PDF
Creating real time applications with Angular and Firebase
Firebasics
Google IO Extended 2018 Codelabs - Google Developer Philippines
Firebase Basics - Dialog Demo for Group Tech Staff
Firebase - cloud based real time database
Introduction to Firebase (A Platform for developing apps) .pptx
Firebase Adventures - Real time platform for your apps
Firebase Tech Talk By Atlogys
Deploy Firebase Backend as a Service Model for Application Development
Database, data storage, hosting with Firebase
Firebase presentation
Firebase_not_really_yohoho
Ng firebasecrud
Firebase in action 2021
How to deploy angular 12 application using firebase hosting
Tk2323 lecture 8 firebase
Mobile Programming - 10 Firebase
Building A Webb App with Firebase and Angular 2
Firebase not really_yohoho
Introducing-Firebase.pptxehehshhdhdhdhdhhd
Creating real time applications with Angular and Firebase
Ad

More from Rory Preddy (19)

PPTX
Programming for accessibility
PPTX
Whats new in .net for 2019
PDF
Whats new in .NET for 2019
PDF
Whats new in Java 9,10,11,12
PDF
AWS for Java Developers workshop
PDF
Java modules
PDF
Java 2018 certifications
PPTX
AWS Transcribe and Comprehend
PPTX
BDD with Mockito
PPTX
Up and Running with Kubernetes
PPTX
Dockercompose
PPTX
Functional Reactive Endpoints using Spring 5
PPTX
AWS and Serverless with Alexa
PPTX
Nashorn
PPTX
AWS for the Java Developer
PPTX
Vs java (1)
PPTX
Polyglot
PPTX
BDD - Keep love alive
PPTX
Kotlin
Programming for accessibility
Whats new in .net for 2019
Whats new in .NET for 2019
Whats new in Java 9,10,11,12
AWS for Java Developers workshop
Java modules
Java 2018 certifications
AWS Transcribe and Comprehend
BDD with Mockito
Up and Running with Kubernetes
Dockercompose
Functional Reactive Endpoints using Spring 5
AWS and Serverless with Alexa
Nashorn
AWS for the Java Developer
Vs java (1)
Polyglot
BDD - Keep love alive
Kotlin

Recently uploaded (20)

PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
ai tools demonstartion for schools and inter college
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PPTX
history of c programming in notes for students .pptx
PPTX
L1 - Introduction to python Backend.pptx
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PDF
Nekopoi APK 2025 free lastest update
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
System and Network Administraation Chapter 3
PPT
Introduction Database Management System for Course Database
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Design an Analysis of Algorithms I-SECS-1021-03
Operating system designcfffgfgggggggvggggggggg
Softaken Excel to vCard Converter Software.pdf
ai tools demonstartion for schools and inter college
Odoo Companies in India – Driving Business Transformation.pdf
VVF-Customer-Presentation2025-Ver1.9.pptx
history of c programming in notes for students .pptx
L1 - Introduction to python Backend.pptx
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
2025 Textile ERP Trends: SAP, Odoo & Oracle
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Wondershare Filmora 15 Crack With Activation Key [2025
Nekopoi APK 2025 free lastest update
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Navsoft: AI-Powered Business Solutions & Custom Software Development
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
System and Network Administraation Chapter 3
Introduction Database Management System for Course Database
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool

Getting started with Firebase

  • 2. Meet Rory • Developer in R&D team at BBD • Organizer for the Java and AWS User groups • Not related to Tyrion Lannister • Don’t do kids parties @rorypreddy
  • 5. • History of the Cloud and Firebase • Creating a Firebase App • Using Firebase in an Angular App • Deploying and version control Agenda
  • 6. Cloud Computing Cloud computing is a model for enabling convenient, on- demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction. https://nvlpubs.nist.gov/nistpubs/legacy/sp/nistspecialpublication800-145.pdf
  • 7. Benefits of Cloud Computing: • Cost • Global Scale • Reliability • Speed and Performance • Productivity
  • 9. Deployment models • Public cloud • Private cloud • Hybrid cloud
  • 10. Tactic SolutionNew IT realityOld IT Implementation
  • 12. History of firebase • Originally firebase was online chat message integration service. • Later the real time architecture was separated to create firebase database in 2012. • Firebase surfaced as a popular choice when Parse.com went down. • Google acquired firebase in 2014 and added a whole lot of features in Google IO-2016. • Firebase is now a complete cloud solution.
  • 14. Firebase Hosting • Firebase hosting provides a fast and secure static hosting for your web app. • It is a production grade web content hosting. • CDN edges around the world • Hosting gives a subdomain of “firebaseapp.com” • You can also get a custom domain. • Free SSL certificate • Install firebase CLI • Also suited for SPA/Progressive web apps • Version controlled
  • 15. Not Suited For • Dynamic web pages (Node.js) • use Cloud functions with Node.js instead • Server-Side Applications (PHP, JAVA, and so on) • use Google Cloud Platform instead • Authentication • use Firebase Auth instead • Authorization • use Real Time and Storage security rules instead • Heavy files • Firebase Storage recommended
  • 17. Firebase console • Google has several "consoles". • These are webpages to control varying things. • Other Examples: • https://partner.android.com/things/console#/ android things • https://console.developers.google.com/apis/ for apis like maps • https://developers.google.com/beacons/dashboard/ for beacons • Firebase has its own as well: • https://console.firebase.google.com/
  • 18. • Create a Firebase account and a Firebase app - https://firebase.google.com • Links your google account • Optionally link a google cloud account – The Firebase SDKs for Cloud Storage store files directly in Google Cloud Storage buckets Firebaseaccount
  • 19. Deploy Your site 1. Install node and npm. 2. Install firebase CLI ➢ npm install –g firebase-tools 3. Initialize your app ➢ firebase login • Link your google account ➢ firebase init 4. Set root folder and put your static content there. ➢ firebase serve 5. Deploy ➢ firebase deploy Your app will be hosted at “subdomain”.firebase-app.com
  • 23. • npm install -g @angular/cli • ng new wtc • cd wtc • ng serve --open Creating an Angular App
  • 24. • firebase init ➢Which Firebase CLI features? ➢Hosting ➢Select a default Firebase project? ➢Angular Hosting Test ➢What do you want to use as your public directory? ➢distwtc ➢Configure as a single-page app? ➢Yes Creating an Angular App
  • 25. • ng build –prod • firebase deploy –Deploys distwtc • firebase open hosting:site Creating an Angular App
  • 27. Demo
  • 28. References • https://console.firebase.google.com/ • https://firebase.google.com/docs/ • https://github.com/roryp/basic_css_js_website • Code lab: Friendly Chat web app (about 1ish hours) • https://codelabs.developers.google.com/codelabs/firebase-web/index.html • Covers database, storage, auth, messaging, firebase notifications..