Node/quickstarts/genkit-helloworld/README.md
This quickstart demonstrates how to initialize a Genkit flow and serve it with Cloud Functions for Firebase.
Read more about Cloud Functions for Firebase
Install dependencies with npm install
Start the functions emulator with firebase emulators:start --only functions
https://127.0.0.1:5001/{$PROJECT}/us-central1/tellJoke
Call the function from a terminal, replacing the url argument with your function's URL:
$ curl -X POST \
--url https://127.0.0.1:5001/{$PROJECT}/us-central1/tellJoke \
--header "Content-Type: application/json" \
--header "Accept: text/event-stream" \
--data '{"data": "Observational comedy"}'
© Google, 2025. Licensed under an Apache-2 license.