Integrate Online Database to App
by work
Software Development Journey Overview
Follow this step-by-step software development journey to see real progress updates, challenges overcome, and practical experience.
Progress Updates (6 total)
Update #1: Integrate Online Database to App
Implement cloud databases so eventually I can leave sensors with user to collect their data:
1. connect Firebase and Cloud Firestore
2. Enable Log in and password
3. download and process user data remotely
Update #2: Synced Button Press Timestamp -> Firestore
A very good tutorial for Mac and ios users: https://www.youtube.com/watch?v=LnpGU8vj7TI&t=349s
Good lesson: dont take flutter tutorials from Windows users- they have no experience of xcode, and a lot of xcode nuance/modifications are not covered.
I probably should have tried other YouTube searches vs wasting time on the Flutter Mapps ones a couple months back, but oh well.
Update #3: Big Query and Google Sheets
Queried data in Google Big Query - which I think is the easiest way to view live streamed data from Firebase. From Big Query, it was very easy to export data anywhere- CSV/JSON/Google Sheets....
I used this very helpful tutorial: https://www.youtube.com/watch?v=3J1M1bSwgV8&t=80s
Update #4: single bluetooth reading to Firebase -> Google Sheets
Still cannot listen consistently - right now it streams one data point at a time when I press "Export to Firebase" button
Update #5: User Authentication
Added user authentication so I can data of different workouts can be stored in separate user's Firebase collection.
Used this amazing YouTube Tutorial: https://www.youtube.com/watch?v=TkuO8OLgvkk&list=PLdub2Co_B44PyJonzKVKNjWxyLiipMd8J&index=5&t=635s
Update #6: User auth + Firebase Live Update + Stream listen
Followed tutorials above and successfully started streaming data to firebase and pulling the latest updated readings live in app. User can be authenticated w email and password too