Replies: 1 comment
-
Hi, if you still struggle, I wanna say that many things are not directly related to htmx. To begin, try to make a simple poc with only nodejs and firebase. Once you ensure that you built a correct CRUD with your firebase, add your template view. I think a proper way of implementing this will be to make your request from htmx to your server and trigger a call to firebase from this endpoint. Something like:
Then, in your controller / route file:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there,
I'm still pretty new to htmx, and I'm trying to figure out how to set up a service that uses Firebase as the backend. I don't really want to mess with setting up a backend API, but I'm hoping to interact directly with Firestore and display the response on the client side using the client-side-templates extension. I know you can use the REST API directly, but they recommend against it, so I'm thinking of using the official JS library they provide.
Basically, I'm trying to:
Any advice or pointers would be greatly appreciated!
PS:
I'm willing to implement a new extension if this is possible to do.
Beta Was this translation helpful? Give feedback.
All reactions