DEV Community

Discussion on: Firebase CRUD

 
johndavemanuel profile image
John Dave Manuel

I see. I am planning to create something like this

datatables.net/

take a look on the pagination with hint of items that is currently display

Thread Thread
 
micahlt profile image
Micah Lindley

Okay... the issue is that doing that kind of defeats the purpose of Checkmark. It’s meant to be a sleek and extremely simple checklist that is effortless to use and sync. If I use the table, I can’t use the same CSS (Materialize) that I’m using. It would be practical, but the main point of Checkmark is simplicity and elegance. Is there any way to accomplish Firebase dB communications without using a table?

Thread Thread
 
johndavemanuel profile image
John Dave Manuel

Yes, it is possible, the return of the firebase DB is like a JSON, so it is up to you what element you will use to display it.

Thread Thread
 
micahlt profile image
Micah Lindley

Cool! So really what I need to figure out is how to parse and create JSON to and from Firebase. Could you help me figure out how to do that?

Thread Thread
 
johndavemanuel profile image
John Dave Manuel

Basically, you need to sign up first, setup an account.

console.firebase.google.com

I just watch a Youtube video tutorial from The Net Ninja to easily figure out things, rather than reading.

Thread Thread
 
micahlt profile image
Micah Lindley

I’ve signed up to Firebase already (that’s how the sign-in is on the Checkmark page). What I need to know is how to let each user read, edit, and delete their own to-do’s in my Realtime Database. 🙃

Thread Thread
 
johndavemanuel profile image
John Dave Manuel

Ahh I see, my bad haha, currenlty I am still checking that feature because on my CRUD, I am also planning to add such feature

Thread Thread
 
micahlt profile image
Micah Lindley • Edited

Ah, okay! Well, if you find out how to do it, let me know or submit a pull request! I started your CRUD repository, so I’ll keep an eye on it! 😄👍 Also, try setting up Firebase auth: firebase.google.com/docs/auth/andr...

Thread Thread
 
johndavemanuel profile image
John Dave Manuel

I have never try it, seems it is an easy integration of 3rd party accounts

Thread Thread
 
micahlt profile image
Micah Lindley

Yeah! My Google auth seems to be having some trouble though- it’s probably just the fact that I’m making my Javascript up as I go and building most of my code from existing GitHub repos and Stack Overflow answers. 😂