Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Firebaseのデータ更新のススメ
Search
hiro-nagami
June 19, 2019
Programming
400
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Firebaseのデータ更新のススメ
hiro-nagami
June 19, 2019
More Decks by hiro-nagami
See All by hiro-nagami
ReactでAtomic Design
hiro3
2
87
Other Decks in Programming
See All in Programming
Enforcing Your Architecture with Unit Tests in the AI Era (Swift Connection X)
steliosf
PRO
1
150
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
330
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
4
3.8k
Distance field of Julia set
kinakomoti321
0
310
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
1
190
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
6
2.2k
Next.js: The final boss of Web Performance
guaca
0
390
DroidKnights 2026 Android A2UI Jetpack Compose 기반의 안전한 AI UI 렌더링 - 박제창
itsmedreamwalker
1
210
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
420
地方こそサーバーレス — 10年続けた、顔が見えるチームで確かな基盤を / Serverless Matters Most in Regional Areas — 10 Years of Building Reliable Foundations with Close-Knit Teams
seike460
PRO
1
340
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
4
3.7k
プロジェクトコードをキレイキレイしよう!暗黙的な参照を読み解く静的解析
ostk0069
0
210
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
4k
4 Signs Your Business is Dying
shpigford
187
23k
Odyssey Design
rkendrick25
PRO
2
930
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
Prompt Engineering for Job Search
mfonobong
0
580
Balancing Empowerment & Direction
lara
6
1.4k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
480
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.7k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
240
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
Transcript
Firebase Firestore σʔλߋ৽ͷϙΠϯτ
FIREBASEͷσʔλߋ৽ͷεεϝ ࣗݾհ
FIREBASEͷσʔλߋ৽ͷεεϝ ࠓͷςʔϚ Firebase DBΛͬͯͯ ߋ৽ϩδοΫͰ٧·ͬͨ
FIREBASEͷσʔλߋ৽ͷεεϝ ҎԼͷΑ͏ͳػೳΛ࣮ ཧऀ Ճϝϯόʔ ❶ ট ❷ ࢀՃ άϧʔϓ
FIREBASEͷσʔλߋ৽ͷεεϝ FirebaseͰDBΛ ΞϓϦ͔Βߋ৽Ͱ͖Δ
FIREBASEͷσʔλߋ৽ͷεεϝ FirebaseͰDBΛ ΞϓϦ͔Βߋ৽Ͱ͖Δ αʔόʔͷࣝͳͯ͘ ؆୯ʹσʔλ͕Ճɾߋ৽Ͱ͖Δ
FIREBASEͷσʔλߋ৽ͷεεϝ ఆ͢Δσʔλߏ Ϣʔβʔ - Id: ϢʔβʔID - Name: Ϣʔβʔ໊ -
JoinedGroup: ࢀՃ͍ͯ͠Δάϧʔϓ άϧʔϓ - Id: άϧʔϓID - Admin: ཧऀͷϢʔβʔID - Members: ࢀՃ͍ͯ͠ΔϝϯόʔͷID - Invited: টதͷϢʔβʔID
FIREBASEͷσʔλߋ৽ͷεεϝ ྲྀΕ άϧʔϓཧऀ ࢀՃऀ DB ❶ টϦετʹՃ Group => Invited
❷ ট௨ ❸ ঝ - ࣗͷࢀՃάϧʔϓՃ User => GroupsʹάϧʔϓIDՃ - άϧʔϓͷϝϯόʔʹࣗΛՃ Group => MembersʹϢʔβʔIDՃ
FIREBASEͷσʔλߋ৽ͷεεϝ DBͷηΩϡϦςΟઃఆ ↑ཧऀҎ֎ߋ৽Ͱ͖ͳ͍ // Ϣʔβʔ // άϧʔϓ
FIREBASEͷσʔλߋ৽ͷεεϝ ηΩϡϦςΟͷઃఆ͢Δͱɻɻ άϧʔϓཧऀ ࢀՃऀ DB ❶ টϦετʹՃ Group => Invited
❷ ট௨ ❸ ঝ - ࣗͷࢀՃάϧʔϓՃ User => GroupsʹάϧʔϓIDՃ - άϧʔϓͷϝϯόʔʹࣗΛՃ Group => MembersʹϢʔβʔIDՃ Ͱ͖ͳ͍ʂʂ
FIREBASEͷσʔλߋ৽ͷεεϝ άϧʔϓཧऀ ࢀՃऀ DB ❶ টϦετʹՃ ❷ ট௨ COULD FUNCTIONS
ADMIN ❸ ঝ Firebase Cloud FunctionsΛͬͯadminͰॻ͖ࠐΉ ❹ ॻ͖ࠐΈ
FIREBASEͷσʔλߋ৽ͷεεϝ DBͷηΩϡϦςΟઃఆ ↑Firebaseཧऀͷߋ৽ݖݶ
FIREBASEͷσʔλߋ৽ͷεεϝ άϧʔϓཧऀ ࢀՃऀ DB ❶ টϦετʹՃ ❷ ট௨ COULD FUNCTIONS
ADMIN ❸ ঝ ແࣄॻ͖ࠐΊΔ ❹ ॻ͖ࠐΈ
FIREBASEͷσʔλߋ৽ͷεεϝ ࠓͷςʔϚ Ճɾߋ৽ Firebase Cloud FunctionΛ ͏ͷ͕Φεεϝ