https://github.com/sapientcoffee/daily-grind
A demo application leveraging generative AI with Google Cloud and Firebase.
https://github.com/sapientcoffee/daily-grind
demo firebase genkit googlecloud
Last synced: 3 days ago
JSON representation
A demo application leveraging generative AI with Google Cloud and Firebase.
- Host: GitHub
- URL: https://github.com/sapientcoffee/daily-grind
- Owner: sapientcoffee
- License: apache-2.0
- Created: 2025-03-07T22:01:16.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-21T00:44:09.000Z (about 1 year ago)
- Last Synced: 2025-12-27T09:56:14.791Z (5 months ago)
- Topics: demo, firebase, genkit, googlecloud
- Language: TypeScript
- Homepage:
- Size: 228 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
```
/*
Copyright 2025 Google LLC
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
```
# The Daily Grind
## frontend
npm install -g @angular/cli
## backend
npm install genkit @genkit-ai/googleai
npm install -D genkit-cli
npx genkit init brew --template typescript
npx genkit flow:run menuSuggestionFlow '"French"'
LatteArt
brew - be
# 🔧 Development
To get started with development, follow these steps:
Install the required dependencies:
```
npm install
```
Authenticate with Google Cloud:
```
gcloud init
gcloud auth application-default login
```
[OPTIONAL] Setup local environemnt for firebase, select emulators (auth, firesotre)
```
firebase init
```
Start Firebase emulators to allow you to develop the appliction locally
```
firebase emulators:start
```
Start application
GenKit is used to orchestrate interactions with LLMs. To run the application locally with GenKit:
```
npm run dev
```
# Deploy
1st time
```
firebase login
firebase apphosting:backends:get --project cymbal-daily-grind latteart --location us-central1
```