Skip to content

Latest commit

 

History

History
72 lines (40 loc) · 1.91 KB

File metadata and controls

72 lines (40 loc) · 1.91 KB

Google Cloud Platform logo

This collection of samples demonstrates how to perform various operations with Google Cloud Firestore using Node.js, including basic reads and writes, data pipelines, and distributed counters.

Table of Contents

Before you begin

Before running the samples, make sure you've followed the steps outlined in Using the client library.

npm install

Samples

Limit-to-last-query

View the source code.

Usage:

node limit-to-last-query.js


Pipelines-quickstart

View the source code.

Usage:

node pipelines-quickstart.js


Quickstart

View the source code.

Usage:

node quickstart.js


Distributed-counter

View the source code.

Usage:

node distributed-counter.js


Running the tests

To run the automated tests for these samples, execute:

npm test