I would like to try firestore local emulator but resources are a bit scattered and it is hard to determine if it is possible in Node.js. Has anyone already done that?
After some nice search, it is pretty easy in fact.
Here is a link to a sample projet I made on github which makes a basic insertion followed by a retrieval.
It uses a docker container to run firestore emulator and @firebase/testing package to interact with it. The setup is straightforward and explained in the README.md.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With