functions-framework-dart
functions-framework-dart copied to clipboard
Create More Examples
To launch to Cloud Functions, we should add examples for a majority of the samples seen in the docs.
For example, here is the doc for the Cloud Functions quickstart:
https://cloud.google.com/functions/docs/quickstart-nodejs
We should add this sample to the examples folder: https://github.com/GoogleCloudPlatform/functions-framework-dart/tree/main/examples/
Speaking of creating more examples, do we know what it would take to get Dart snippets included in language tabs like this?
- How to handle different HTTP verbs?
- How to handle request headers?
- How to handle firebase auth with custom claims
WRT examples, I would find it helpful if shelf related behavior was clearly distinguished from behaviors provided by gcp.
Developers who investigate this package may be relatively new to any combination of: Dart, shelf, GCP in general, this gcp package. By separating shelf and gcp behaviors, developers who are new to shelf can still appreciate the gcp package purpose and value.
@matthew-carroll – yup. This package is 60% things specific to shelf. Wil do!