2. Link
● Git repository (http://bit.ly/flutter_aru_2021_code)
● Presentation (http://bit.ly/flutter_aru_2021_slide)
● Youtube (http://bit.ly/flutter_aru_2021_video)
● Google Meet (https://meet.google.com/erx-pdof-pgc)
3. Who am I?
● Former senior software engineer - Software Industry Promotion Agency
● Former technical team leader - IoT and Digital Innovation Institue / DEPA
● Former Content writer - thaiopensource.org
● Cloud computing and IoT consultant
● Content creater - Facebook page Dart แบบ Dart Dart
4. Flutter is UX Toolkit to make a
mobile, web, desktop application.
Flutter made by Google inc.
38. Design your NoSQL Document
1. Cloud Firestore is NoSQL database
2. A Limit in query and not support full-text search
3. A limit in index MUST design your document properly
4. Read, Write, Snapshot is cost so design your document properly
39. Design NoSQL Document #1
●
●
●
●
●
●
Single collection separate trip with user
but hard to query city and country
40. Design NoSQL Document #2
●
●
●
●
●
●
●
●
●
●
●
●
Separate into 2 collection user and trip easy to query user data but still hard to query city and country
41. Design NoSQL Document #3
●
●
●
●
●
●
Separate into 3 collections user, trip, city. It easy to query user data, trip city but should have problem
data intrigity when delete city data (may use Cloud Function to handle this)
●
●
●
●
●
●
●
●
42.
43.
44.
45. Cloud Firestore Query
Link - https://www.youtube.com/watch?v=WacqhiI-g_o&list=PLl-K7zZEsYLlP-k-RKFa7RyNPa9_wCH2s
53. Cloud Firestore NO Full Text Search T_T
Firebase is no full text search aka LIKE in SQL command. You MUST use 3rt party
service like Algolia, Elasticsearch or RDB.
55. Don’t forget
● Register your Firebase account
● Register your project and debug keystore
● Copy google-service.json to android/app directory
● Add mockup data
● Complete trip detail and search page (search page, use list.contain for
search)