I'm looking for boilerplate snippets for both index.js and package.json to connect from my Node.js cloud function to Cloud Firestore database under the same project with a simple read/update request as example.
ps I'm using Cloud Functions inline editor.
CodePudding user response:
Posting link from one of the comments that helped me.