狠狠撸

狠狠撸Share a Scribd company logo
Richard Lee, Google Developer Expert for Firebase
Firebase & 快速打造 MVP
March 2023 @ GDSC NYCU
Google Developer Expert
? 在學創辦愛料理&INSIDE
? Google Developer Expert
? LINE API Expert
? 聯絡我:@dlackty
Richard Lee
 Firebase 基礎上手 |2小時由入門到精通 | GDSC NYCU
 Firebase 基礎上手 |2小時由入門到精通 | GDSC NYCU
哪些 Google 技術
可以快速幫助打造 惭痴笔?
 Firebase 基礎上手 |2小時由入門到精通 | GDSC NYCU
Firebase 百寶箱有很多?具
可以開發、或是發展你的服務
做專案的秘訣:
去找 Google Codelabs 范例抄
What Firebase can help you?
From build, to grow & enhance your app
? Develop
? Host your web app
? Store your data
? Enhance
? Make your app stable
? Analyze app usage
? Grow
? Remotely update UI or con
fi
gs
? Run A/B testing
Host your app
 Firebase 基礎上手 |2小時由入門到精通 | GDSC NYCU
Firebase Hosting
Super easy and fast hosting
? Backed by Google’s global network
? Suitable for all kind os front-end frameworks (Angular / React / Vue)
? Free custom domain & SSL support. Tra
ffi
c: 360 MB/day, $0.15/GB
? Need some backend logics?
? Integrate with Firebase Cloud Functions (Node.js)
? Integrate with Cloud Run (Docker-based environment)
 Firebase 基礎上手 |2小時由入門到精通 | GDSC NYCU
Store your data
 Firebase 基礎上手 |2小時由入門到精通 | GDSC NYCU
Cloud Firestore
If you know MongoDB, you know Firestore
? One of the best “serverless database” available in the world
? Support all major platforms across web & app
? Schema-free, store whatever you want
? Built-in o
ffl
ine support, and realtime sync between devices
? Integrate with other Firebase products well
import { collection, addDoc } from "firebase/firestore";
try {
const docRef = await addDoc(collection(db, "users"), {
first: "Ada",
last: "Lovelace",
born: 1815
});
console.log("Document written with ID: ", docRef.id);
} catch (e) {
console.error("Error adding document: ", e);
}
Add data via Firestore
import { collection, getDocs } from "firebase/firestore";
const querySnapshot = await getDocs(collection(db, "users"));
querySnapshot.forEach((doc)
=
>
{
console.log(`${doc.id}
=
>
${doc.data()}`);
});
Read data via Firestore
Make your app stable
 Firebase 基礎上手 |2小時由入門到精通 | GDSC NYCU
Firebase Crashlytics
Lightweight, realtime crash reporter
? The leading crash reporting service on Apple, Android, Flutter, and Unity
? Easy to integrate, takes less than 10 mins
? Receive realtime crash report via Email or Slack
? Try to keep 99% crash-free sessions
? Native integration with Android Studio & Google Play
 Firebase 基礎上手 |2小時由入門到精通 | GDSC NYCU
Analyze app usage
 Firebase 基礎上手 |2小時由入門到精通 | GDSC NYCU
Google Analytics (fka Firebase Analytics)
De-facto standard for app/web analytics
? Firebase’s Analytics product now becomes Google Analytics 4
? Google Analytics is the most used analytic app by internet professionals
? The legacy Google Analytics will be end-of-life on July 1, 2023
? You can analyze cross platforms usage and reduce duplications
? Powered by Google Signals
? Di
ff
erent platform installed as “streams” of events into same GA property
 Firebase 基礎上手 |2小時由入門到精通 | GDSC NYCU
 Firebase 基礎上手 |2小時由入門到精通 | GDSC NYCU
 Firebase 基礎上手 |2小時由入門到精通 | GDSC NYCU
Remotely update UI or configs
 Firebase 基礎上手 |2小時由入門到精通 | GDSC NYCU
Firebase Remote Config
Change behaviors or UI without publishing an app update
? It works on native apps and also web!
? Basically it just a remotely fetched key-value dictionary
? With ability to provide di
ff
erent value for di
ff
erent kind of audiences
? We actually use it for “lightweight APIs”
? Banner / copywriting management for marketing
? Dynamically enable features for a speci
fi
c period of time (e.g. LNY)
? Caution: The update might not be real-time. Be careful to add critical logics!
 Firebase 基礎上手 |2小時由入門到精通 | GDSC NYCU
Run A/B testing
 Firebase 基礎上手 |2小時由入門到精通 | GDSC NYCU
Firebase A/B Testing
A/B testing for various Firebase features
? To use A/B testing, you need Google Analytics
? For measure and targeting
? Then Firebase A/B testing will help you
? Split targets into groups
? Run experiments with di
ff
erent values
? Calculate the winning variant
 Firebase 基礎上手 |2小時由入門到精通 | GDSC NYCU
Takeaways
So many features covered in this session I know…
? The must haves
? Firebase Crashlytics - Try to make sure you have 99% crash-free sessions
? Google Analytics - De-facto standard for app/web analytics
? Nice to haves
? Firebase Remote Con
fi
g - Save time APIs for marketing or testing
? Firebase A/B Testing - Easy way to do A/B testing right
? Others: Depends on your cases
What others Firebase can help you?
Some advanced use cases
? Firebase Messaging
? Send push messages
? Show in-app prompts
? Firebase Authentication
? Let user login with email / phone
? O
ffi
cial support Google / Facebook
? Community support LINE / ETH
? Firebase Test Lab
? Real devices on cloud for testing
? Firebase Dynamic Links
? Shortened URLs
? Deferred deep links to your app
? Firebase Extensions
? Pre-packaged solutions
Final remarks
As a student developer, please don’t miss some good things
? GitHub Student Developer Pack - Free domain / cloud / tools
? Google Summer of Code - Learn from open source experts
? Google Developer Student Club - Yes, this event
? Internship - The best chance to get into dream companies
? Graduate level courses - Make you di
ff
erent than others
Q&A
谢谢!

More Related Content

Similar to Firebase 基礎上手 |2小時由入門到精通 | GDSC NYCU (20)

01 DevOps and Azure DevOps overview
01 DevOps and Azure DevOps overview01 DevOps and Azure DevOps overview
01 DevOps and Azure DevOps overview
Alan Tsai
?
GDG Taichung - Flutter and Firebase.pdf
GDG Taichung - Flutter and Firebase.pdfGDG Taichung - Flutter and Firebase.pdf
GDG Taichung - Flutter and Firebase.pdf
Duran Hsieh
?
Phalcon2014 Startup
Phalcon2014 StartupPhalcon2014 Startup
Phalcon2014 Startup
Steve Luo
?
開放原始碼 Ch1.3 intro - oss - google codes (ver 2.0)
開放原始碼 Ch1.3   intro - oss - google codes (ver 2.0)開放原始碼 Ch1.3   intro - oss - google codes (ver 2.0)
開放原始碼 Ch1.3 intro - oss - google codes (ver 2.0)
My own sweet home!
?
探索 API 開發的挑戰與解決之道 | .NET Conf 2023 Taiwan
探索 API 開發的挑戰與解決之道 | .NET Conf 2023 Taiwan探索 API 開發的挑戰與解決之道 | .NET Conf 2023 Taiwan
探索 API 開發的挑戰與解決之道 | .NET Conf 2023 Taiwan
Alan Tsai
?
02 azure devops pipeline - build
02 azure devops pipeline - build02 azure devops pipeline - build
02 azure devops pipeline - build
Alan Tsai
?
Appium手机自动化测试 tester home公开课
Appium手机自动化测试 tester home公开课Appium手机自动化测试 tester home公开课
Appium手机自动化测试 tester home公开课
lihuazhang
?
導入 Flutter 前你應該知道的事
導入 Flutter 前你應該知道的事導入 Flutter 前你應該知道的事
導入 Flutter 前你應該知道的事
Weizhong Yang
?
03 azure devops pipeline - release
03 azure devops pipeline - release03 azure devops pipeline - release
03 azure devops pipeline - release
Alan Tsai
?
Appium手机自动化测试 testerhome_bqcon版本
Appium手机自动化测试 testerhome_bqcon版本Appium手机自动化测试 testerhome_bqcon版本
Appium手机自动化测试 testerhome_bqcon版本
延胜 黄
?
Html5
Html5Html5
Html5
Ian Chen
?
Universal windows apps 開發—運用 html 及 java script
Universal windows apps 開發—運用 html 及 java scriptUniversal windows apps 開發—運用 html 及 java script
Universal windows apps 開發—運用 html 及 java script
Ian Chen
?
宅學習 Firebase
宅學習 Firebase宅學習 Firebase
宅學習 Firebase
Wei chung chai
?
KSDG BaaS Intro
KSDG BaaS IntroKSDG BaaS Intro
KSDG BaaS Intro
ericpi Bi
?
础辫辫肠补苍移动应用开发平台介绍120409
础辫辫肠补苍移动应用开发平台介绍120409础辫辫肠补苍移动应用开发平台介绍120409
础辫辫肠补苍移动应用开发平台介绍120409
zhengyiwuxian
?
础苍诲谤辞颈诲快速发布&补尘辫;持续集成
础苍诲谤辞颈诲快速发布&补尘辫;持续集成础苍诲谤辞颈诲快速发布&补尘辫;持续集成
础苍诲谤辞颈诲快速发布&补尘辫;持续集成
whykill
?
讓 HTML5 走進 IPTV Framework
讓 HTML5 走進 IPTV Framework讓 HTML5 走進 IPTV Framework
讓 HTML5 走進 IPTV Framework
Jollen Chen
?
Langchain and Azure ML and Open AI
Langchain and Azure ML and Open AILangchain and Azure ML and Open AI
Langchain and Azure ML and Open AI
Ko Ko
?
How to integrate GitLab CICD into B2B service
How to integrate GitLab CICD into B2B serviceHow to integrate GitLab CICD into B2B service
How to integrate GitLab CICD into B2B service
Alex Su
?
使用 Angular 2 與 Firebase 實現 Serverless 網站架構 (JSDC.tw 2016)
使用 Angular 2 與 Firebase 實現 Serverless 網站架構 (JSDC.tw 2016)使用 Angular 2 與 Firebase 實現 Serverless 網站架構 (JSDC.tw 2016)
使用 Angular 2 與 Firebase 實現 Serverless 網站架構 (JSDC.tw 2016)
Will Huang
?
01 DevOps and Azure DevOps overview
01 DevOps and Azure DevOps overview01 DevOps and Azure DevOps overview
01 DevOps and Azure DevOps overview
Alan Tsai
?
GDG Taichung - Flutter and Firebase.pdf
GDG Taichung - Flutter and Firebase.pdfGDG Taichung - Flutter and Firebase.pdf
GDG Taichung - Flutter and Firebase.pdf
Duran Hsieh
?
Phalcon2014 Startup
Phalcon2014 StartupPhalcon2014 Startup
Phalcon2014 Startup
Steve Luo
?
開放原始碼 Ch1.3 intro - oss - google codes (ver 2.0)
開放原始碼 Ch1.3   intro - oss - google codes (ver 2.0)開放原始碼 Ch1.3   intro - oss - google codes (ver 2.0)
開放原始碼 Ch1.3 intro - oss - google codes (ver 2.0)
My own sweet home!
?
探索 API 開發的挑戰與解決之道 | .NET Conf 2023 Taiwan
探索 API 開發的挑戰與解決之道 | .NET Conf 2023 Taiwan探索 API 開發的挑戰與解決之道 | .NET Conf 2023 Taiwan
探索 API 開發的挑戰與解決之道 | .NET Conf 2023 Taiwan
Alan Tsai
?
02 azure devops pipeline - build
02 azure devops pipeline - build02 azure devops pipeline - build
02 azure devops pipeline - build
Alan Tsai
?
Appium手机自动化测试 tester home公开课
Appium手机自动化测试 tester home公开课Appium手机自动化测试 tester home公开课
Appium手机自动化测试 tester home公开课
lihuazhang
?
導入 Flutter 前你應該知道的事
導入 Flutter 前你應該知道的事導入 Flutter 前你應該知道的事
導入 Flutter 前你應該知道的事
Weizhong Yang
?
03 azure devops pipeline - release
03 azure devops pipeline - release03 azure devops pipeline - release
03 azure devops pipeline - release
Alan Tsai
?
Appium手机自动化测试 testerhome_bqcon版本
Appium手机自动化测试 testerhome_bqcon版本Appium手机自动化测试 testerhome_bqcon版本
Appium手机自动化测试 testerhome_bqcon版本
延胜 黄
?
Universal windows apps 開發—運用 html 及 java script
Universal windows apps 開發—運用 html 及 java scriptUniversal windows apps 開發—運用 html 及 java script
Universal windows apps 開發—運用 html 及 java script
Ian Chen
?
KSDG BaaS Intro
KSDG BaaS IntroKSDG BaaS Intro
KSDG BaaS Intro
ericpi Bi
?
础辫辫肠补苍移动应用开发平台介绍120409
础辫辫肠补苍移动应用开发平台介绍120409础辫辫肠补苍移动应用开发平台介绍120409
础辫辫肠补苍移动应用开发平台介绍120409
zhengyiwuxian
?
础苍诲谤辞颈诲快速发布&补尘辫;持续集成
础苍诲谤辞颈诲快速发布&补尘辫;持续集成础苍诲谤辞颈诲快速发布&补尘辫;持续集成
础苍诲谤辞颈诲快速发布&补尘辫;持续集成
whykill
?
讓 HTML5 走進 IPTV Framework
讓 HTML5 走進 IPTV Framework讓 HTML5 走進 IPTV Framework
讓 HTML5 走進 IPTV Framework
Jollen Chen
?
Langchain and Azure ML and Open AI
Langchain and Azure ML and Open AILangchain and Azure ML and Open AI
Langchain and Azure ML and Open AI
Ko Ko
?
How to integrate GitLab CICD into B2B service
How to integrate GitLab CICD into B2B serviceHow to integrate GitLab CICD into B2B service
How to integrate GitLab CICD into B2B service
Alex Su
?
使用 Angular 2 與 Firebase 實現 Serverless 網站架構 (JSDC.tw 2016)
使用 Angular 2 與 Firebase 實現 Serverless 網站架構 (JSDC.tw 2016)使用 Angular 2 與 Firebase 實現 Serverless 網站架構 (JSDC.tw 2016)
使用 Angular 2 與 Firebase 實現 Serverless 網站架構 (JSDC.tw 2016)
Will Huang
?

More from 秀吉(Hsiu-Chi) 蔡(Tsai) (20)

硫酸鎂(MgSO?) 在氣喘治療的作用機轉 ( The Mechanism of Action of Magnesium Sulfate (MgSO?) ...
硫酸鎂(MgSO?) 在氣喘治療的作用機轉 ( The Mechanism of Action of Magnesium Sulfate (MgSO?) ...硫酸鎂(MgSO?) 在氣喘治療的作用機轉 ( The Mechanism of Action of Magnesium Sulfate (MgSO?) ...
硫酸鎂(MgSO?) 在氣喘治療的作用機轉 ( The Mechanism of Action of Magnesium Sulfate (MgSO?) ...
秀吉(Hsiu-Chi) 蔡(Tsai)
?
GDSC CTU First Meeting Party
GDSC CTU First Meeting PartyGDSC CTU First Meeting Party
GDSC CTU First Meeting Party
秀吉(Hsiu-Chi) 蔡(Tsai)
?
The Cloud-Native Solution of Integrate Satellite Ground Station System and Te...
The Cloud-Native Solution of Integrate Satellite Ground Station System and Te...The Cloud-Native Solution of Integrate Satellite Ground Station System and Te...
The Cloud-Native Solution of Integrate Satellite Ground Station System and Te...
秀吉(Hsiu-Chi) 蔡(Tsai)
?
AI/ML O-RAN Cloud-Native Automation
AI/ML O-RAN Cloud-Native AutomationAI/ML O-RAN Cloud-Native Automation
AI/ML O-RAN Cloud-Native Automation
秀吉(Hsiu-Chi) 蔡(Tsai)
?
從 Taker 成為 Giver!偏鄉學生也能成為開源貢獻者!
從 Taker 成為 Giver!偏鄉學生也能成為開源貢獻者!從 Taker 成為 Giver!偏鄉學生也能成為開源貢獻者!
從 Taker 成為 Giver!偏鄉學生也能成為開源貢獻者!
秀吉(Hsiu-Chi) 蔡(Tsai)
?
什麼是狈别辫丑颈辞?
什麼是狈别辫丑颈辞?什麼是狈别辫丑颈辞?
什麼是狈别辫丑颈辞?
秀吉(Hsiu-Chi) 蔡(Tsai)
?
Google IO Extended 2023 Hsinchu開場
Google IO Extended 2023 Hsinchu開場Google IO Extended 2023 Hsinchu開場
Google IO Extended 2023 Hsinchu開場
秀吉(Hsiu-Chi) 蔡(Tsai)
?
Case Studied on Federated learning Deployment in O-RAN
Case Studied on Federated learning Deployment in O-RANCase Studied on Federated learning Deployment in O-RAN
Case Studied on Federated learning Deployment in O-RAN
秀吉(Hsiu-Chi) 蔡(Tsai)
?
跟著 AI 學 Angular:活用 AI 讓你輕鬆快速掌握任何知識
跟著 AI 學 Angular:活用 AI 讓你輕鬆快速掌握任何知識跟著 AI 學 Angular:活用 AI 讓你輕鬆快速掌握任何知識
跟著 AI 學 Angular:活用 AI 讓你輕鬆快速掌握任何知識
秀吉(Hsiu-Chi) 蔡(Tsai)
?
Flutter實作概述 | GDSC NYCU
Flutter實作概述 | GDSC NYCUFlutter實作概述 | GDSC NYCU
Flutter實作概述 | GDSC NYCU
秀吉(Hsiu-Chi) 蔡(Tsai)
?
陽明交大 百川學程 服務學習二 專業服務企畫案-期末論壇 簡報
陽明交大 百川學程 服務學習二 專業服務企畫案-期末論壇 簡報陽明交大 百川學程 服務學習二 專業服務企畫案-期末論壇 簡報
陽明交大 百川學程 服務學習二 專業服務企畫案-期末論壇 簡報
秀吉(Hsiu-Chi) 蔡(Tsai)
?
找到你的為什麼,革自己的命 | 偏鄉教育 | 蔡秀吉
找到你的為什麼,革自己的命 | 偏鄉教育 | 蔡秀吉找到你的為什麼,革自己的命 | 偏鄉教育 | 蔡秀吉
找到你的為什麼,革自己的命 | 偏鄉教育 | 蔡秀吉
秀吉(Hsiu-Chi) 蔡(Tsai)
?
Flutter實作概述 | GDSC NYCU
Flutter實作概述 | GDSC NYCUFlutter實作概述 | GDSC NYCU
Flutter實作概述 | GDSC NYCU
秀吉(Hsiu-Chi) 蔡(Tsai)
?
GDSC NYCU下學期社員大會
GDSC NYCU下學期社員大會GDSC NYCU下學期社員大會
GDSC NYCU下學期社員大會
秀吉(Hsiu-Chi) 蔡(Tsai)
?
The Development and Prospect of Deploying Cloud-Native O-RAN.pdf
The Development and Prospect of Deploying Cloud-Native O-RAN.pdfThe Development and Prospect of Deploying Cloud-Native O-RAN.pdf
The Development and Prospect of Deploying Cloud-Native O-RAN.pdf
秀吉(Hsiu-Chi) 蔡(Tsai)
?
部属云原生翱-搁础狈架构的发展与展望
部属云原生翱-搁础狈架构的发展与展望部属云原生翱-搁础狈架构的发展与展望
部属云原生翱-搁础狈架构的发展与展望
秀吉(Hsiu-Chi) 蔡(Tsai)
?
Young飛全球行動計畫 ppt 年度成果簡報
Young飛全球行動計畫 ppt 年度成果簡報Young飛全球行動計畫 ppt 年度成果簡報
Young飛全球行動計畫 ppt 年度成果簡報
秀吉(Hsiu-Chi) 蔡(Tsai)
?
World Engineering Day Hackathon 2023
World Engineering Day Hackathon 2023World Engineering Day Hackathon 2023
World Engineering Day Hackathon 2023
秀吉(Hsiu-Chi) 蔡(Tsai)
?
陽明學生會 陽明校區無線通訊品質問題-初步進度報告書
陽明學生會 陽明校區無線通訊品質問題-初步進度報告書陽明學生會 陽明校區無線通訊品質問題-初步進度報告書
陽明學生會 陽明校區無線通訊品質問題-初步進度報告書
秀吉(Hsiu-Chi) 蔡(Tsai)
?
博雅書苑 社教中心 Active Learning 自主學習計畫說明會 -蔡秀吉經驗分享簡報
博雅書苑 社教中心 Active Learning 自主學習計畫說明會 -蔡秀吉經驗分享簡報博雅書苑 社教中心 Active Learning 自主學習計畫說明會 -蔡秀吉經驗分享簡報
博雅書苑 社教中心 Active Learning 自主學習計畫說明會 -蔡秀吉經驗分享簡報
秀吉(Hsiu-Chi) 蔡(Tsai)
?
硫酸鎂(MgSO?) 在氣喘治療的作用機轉 ( The Mechanism of Action of Magnesium Sulfate (MgSO?) ...
硫酸鎂(MgSO?) 在氣喘治療的作用機轉 ( The Mechanism of Action of Magnesium Sulfate (MgSO?) ...硫酸鎂(MgSO?) 在氣喘治療的作用機轉 ( The Mechanism of Action of Magnesium Sulfate (MgSO?) ...
硫酸鎂(MgSO?) 在氣喘治療的作用機轉 ( The Mechanism of Action of Magnesium Sulfate (MgSO?) ...
秀吉(Hsiu-Chi) 蔡(Tsai)
?
The Cloud-Native Solution of Integrate Satellite Ground Station System and Te...
The Cloud-Native Solution of Integrate Satellite Ground Station System and Te...The Cloud-Native Solution of Integrate Satellite Ground Station System and Te...
The Cloud-Native Solution of Integrate Satellite Ground Station System and Te...
秀吉(Hsiu-Chi) 蔡(Tsai)
?
從 Taker 成為 Giver!偏鄉學生也能成為開源貢獻者!
從 Taker 成為 Giver!偏鄉學生也能成為開源貢獻者!從 Taker 成為 Giver!偏鄉學生也能成為開源貢獻者!
從 Taker 成為 Giver!偏鄉學生也能成為開源貢獻者!
秀吉(Hsiu-Chi) 蔡(Tsai)
?
Case Studied on Federated learning Deployment in O-RAN
Case Studied on Federated learning Deployment in O-RANCase Studied on Federated learning Deployment in O-RAN
Case Studied on Federated learning Deployment in O-RAN
秀吉(Hsiu-Chi) 蔡(Tsai)
?
跟著 AI 學 Angular:活用 AI 讓你輕鬆快速掌握任何知識
跟著 AI 學 Angular:活用 AI 讓你輕鬆快速掌握任何知識跟著 AI 學 Angular:活用 AI 讓你輕鬆快速掌握任何知識
跟著 AI 學 Angular:活用 AI 讓你輕鬆快速掌握任何知識
秀吉(Hsiu-Chi) 蔡(Tsai)
?
陽明交大 百川學程 服務學習二 專業服務企畫案-期末論壇 簡報
陽明交大 百川學程 服務學習二 專業服務企畫案-期末論壇 簡報陽明交大 百川學程 服務學習二 專業服務企畫案-期末論壇 簡報
陽明交大 百川學程 服務學習二 專業服務企畫案-期末論壇 簡報
秀吉(Hsiu-Chi) 蔡(Tsai)
?
找到你的為什麼,革自己的命 | 偏鄉教育 | 蔡秀吉
找到你的為什麼,革自己的命 | 偏鄉教育 | 蔡秀吉找到你的為什麼,革自己的命 | 偏鄉教育 | 蔡秀吉
找到你的為什麼,革自己的命 | 偏鄉教育 | 蔡秀吉
秀吉(Hsiu-Chi) 蔡(Tsai)
?
The Development and Prospect of Deploying Cloud-Native O-RAN.pdf
The Development and Prospect of Deploying Cloud-Native O-RAN.pdfThe Development and Prospect of Deploying Cloud-Native O-RAN.pdf
The Development and Prospect of Deploying Cloud-Native O-RAN.pdf
秀吉(Hsiu-Chi) 蔡(Tsai)
?
部属云原生翱-搁础狈架构的发展与展望
部属云原生翱-搁础狈架构的发展与展望部属云原生翱-搁础狈架构的发展与展望
部属云原生翱-搁础狈架构的发展与展望
秀吉(Hsiu-Chi) 蔡(Tsai)
?
Young飛全球行動計畫 ppt 年度成果簡報
Young飛全球行動計畫 ppt 年度成果簡報Young飛全球行動計畫 ppt 年度成果簡報
Young飛全球行動計畫 ppt 年度成果簡報
秀吉(Hsiu-Chi) 蔡(Tsai)
?
陽明學生會 陽明校區無線通訊品質問題-初步進度報告書
陽明學生會 陽明校區無線通訊品質問題-初步進度報告書陽明學生會 陽明校區無線通訊品質問題-初步進度報告書
陽明學生會 陽明校區無線通訊品質問題-初步進度報告書
秀吉(Hsiu-Chi) 蔡(Tsai)
?
博雅書苑 社教中心 Active Learning 自主學習計畫說明會 -蔡秀吉經驗分享簡報
博雅書苑 社教中心 Active Learning 自主學習計畫說明會 -蔡秀吉經驗分享簡報博雅書苑 社教中心 Active Learning 自主學習計畫說明會 -蔡秀吉經驗分享簡報
博雅書苑 社教中心 Active Learning 自主學習計畫說明會 -蔡秀吉經驗分享簡報
秀吉(Hsiu-Chi) 蔡(Tsai)
?

Firebase 基礎上手 |2小時由入門到精通 | GDSC NYCU

  • 1. Richard Lee, Google Developer Expert for Firebase Firebase & 快速打造 MVP March 2023 @ GDSC NYCU
  • 2. Google Developer Expert ? 在學創辦愛料理&INSIDE ? Google Developer Expert ? LINE API Expert ? 聯絡我:@dlackty Richard Lee
  • 9. What Firebase can help you? From build, to grow & enhance your app ? Develop ? Host your web app ? Store your data ? Enhance ? Make your app stable ? Analyze app usage ? Grow ? Remotely update UI or con fi gs ? Run A/B testing
  • 12. Firebase Hosting Super easy and fast hosting ? Backed by Google’s global network ? Suitable for all kind os front-end frameworks (Angular / React / Vue) ? Free custom domain & SSL support. Tra ffi c: 360 MB/day, $0.15/GB ? Need some backend logics? ? Integrate with Firebase Cloud Functions (Node.js) ? Integrate with Cloud Run (Docker-based environment)
  • 16. Cloud Firestore If you know MongoDB, you know Firestore ? One of the best “serverless database” available in the world ? Support all major platforms across web & app ? Schema-free, store whatever you want ? Built-in o ffl ine support, and realtime sync between devices ? Integrate with other Firebase products well
  • 17. import { collection, addDoc } from "firebase/firestore"; try { const docRef = await addDoc(collection(db, "users"), { first: "Ada", last: "Lovelace", born: 1815 }); console.log("Document written with ID: ", docRef.id); } catch (e) { console.error("Error adding document: ", e); } Add data via Firestore
  • 18. import { collection, getDocs } from "firebase/firestore"; const querySnapshot = await getDocs(collection(db, "users")); querySnapshot.forEach((doc) = > { console.log(`${doc.id} = > ${doc.data()}`); }); Read data via Firestore
  • 19. Make your app stable
  • 21. Firebase Crashlytics Lightweight, realtime crash reporter ? The leading crash reporting service on Apple, Android, Flutter, and Unity ? Easy to integrate, takes less than 10 mins ? Receive realtime crash report via Email or Slack ? Try to keep 99% crash-free sessions ? Native integration with Android Studio & Google Play
  • 25. Google Analytics (fka Firebase Analytics) De-facto standard for app/web analytics ? Firebase’s Analytics product now becomes Google Analytics 4 ? Google Analytics is the most used analytic app by internet professionals ? The legacy Google Analytics will be end-of-life on July 1, 2023 ? You can analyze cross platforms usage and reduce duplications ? Powered by Google Signals ? Di ff erent platform installed as “streams” of events into same GA property
  • 29. Remotely update UI or configs
  • 31. Firebase Remote Config Change behaviors or UI without publishing an app update ? It works on native apps and also web! ? Basically it just a remotely fetched key-value dictionary ? With ability to provide di ff erent value for di ff erent kind of audiences ? We actually use it for “lightweight APIs” ? Banner / copywriting management for marketing ? Dynamically enable features for a speci fi c period of time (e.g. LNY) ? Caution: The update might not be real-time. Be careful to add critical logics!
  • 35. Firebase A/B Testing A/B testing for various Firebase features ? To use A/B testing, you need Google Analytics ? For measure and targeting ? Then Firebase A/B testing will help you ? Split targets into groups ? Run experiments with di ff erent values ? Calculate the winning variant
  • 37. Takeaways So many features covered in this session I know… ? The must haves ? Firebase Crashlytics - Try to make sure you have 99% crash-free sessions ? Google Analytics - De-facto standard for app/web analytics ? Nice to haves ? Firebase Remote Con fi g - Save time APIs for marketing or testing ? Firebase A/B Testing - Easy way to do A/B testing right ? Others: Depends on your cases
  • 38. What others Firebase can help you? Some advanced use cases ? Firebase Messaging ? Send push messages ? Show in-app prompts ? Firebase Authentication ? Let user login with email / phone ? O ffi cial support Google / Facebook ? Community support LINE / ETH ? Firebase Test Lab ? Real devices on cloud for testing ? Firebase Dynamic Links ? Shortened URLs ? Deferred deep links to your app ? Firebase Extensions ? Pre-packaged solutions
  • 39. Final remarks As a student developer, please don’t miss some good things ? GitHub Student Developer Pack - Free domain / cloud / tools ? Google Summer of Code - Learn from open source experts ? Google Developer Student Club - Yes, this event ? Internship - The best chance to get into dream companies ? Graduate level courses - Make you di ff erent than others
  • 40. Q&A