Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions server/google_apis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@ A Dart HTTP service meant to be deployed to
[Cloud Firestore](https://firebase.google.com/products/firestore) features in
[package:googleapis](https://pub.dev/packages/googleapis).

- Increments a counter stored in Cloud Firestore via a transaction.
- Increments a counter stored in Cloud Firestore via an atomic increment.
- Based on [package:shelf](https://pub.dev/packages/shelf).
- Includes a number of useful APIs in `lib/helpers.dart` which can be copied and
used in other projects.
- Follow instructions at
https://cloud.google.com/run/docs/quickstarts/build-and-deploy to build and
deploy on [Cloud Run](https://cloud.google.com/run).
- To deploy this demo, you will also need to enable the
[Cloud Firestore API](https://console.cloud.google.com/apis/api/firestore.googleapis.com).
[Cloud Firestore API](https://console.cloud.google.com/apis/api/firestore.googleapis.com):

```sh
gcloud services enable firestore.googleapis.com
```
8 changes: 4 additions & 4 deletions server/google_apis/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ environment:
sdk: ^3.10.0

dependencies:
google_cloud: ^0.2.0
googleapis: ^15.0.0
google_cloud: ^0.3.0
googleapis: ^16.0.0
googleapis_auth: ^2.0.0
shelf: ^1.4.2
shelf_router: ^1.1.4
shelf: ^1.4.0
shelf_router: ^1.0.0

dev_dependencies:
lints: ^6.0.0
Loading