Help with Firebase Realtime Database
(Source/Credits: https://dev.to/micahlt/help-with-firebase-realtime-database-1o4)
Hi guys, I’ve been working on my Checkmark project lately. Dabbling with Google’s Firebase, I adde...
Hi guys,
I’ve been working on my Checkmark project lately. Dabbling with Google’s Firebase, I added Google authentication to let users sync their to-do lists across devices. However, I can’t seem to figure out how to transfer the list items (li
) to my Realtime Database, specified by the user’s Google username. I’m using pure Javascript and HTML currently, but if this can be accomplished with JQuery, I’m open to suggestions.
Can anyone help with this? I’m not exactly a Javascript programmer, so I’m making this up as I go. You can check out my current source at https://github.com/micahlt/checkmark.
Comments section
mongopark
•May 1, 2024
Hey, I can help with this. How have you tried to get this to the Firestore?. I can't really see the code that connects to your Firestore. You need to first create a database in Firestore database then sync then store the list in the database. Syncing to real-time is a breeze from there.
micahlt Author
•May 1, 2024
Thanks! I’ve created a Firebase Realtime database. Should I use Firestore instead?