- Cloud Function (europe-west3): PlantNet-Erkennung mit Claude-Fallback, deutsches Pflegeprofil von Claude, Keys als Secrets
- Pflanzen-Formular: Foto aufnehmen/wählen, Felder werden automatisch vorbefüllt
- Fotos in Storage unter households/{id}/plant-photos, Anzeige in Liste und Profil
- storage.rules mit Haushalts-Prinzip, iOS-Berechtigungstexte für Kamera/Fotos
- Doku Schritt 5: Storage aktivieren, PlantNet-Key, Secrets setzen
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
20 lines
415 B
JSON
20 lines
415 B
JSON
{
|
|
"name": "functions",
|
|
"description": "Cloud Functions für LeafItToMe (KI-Aufrufe, später Push-Erinnerungen)",
|
|
"engines": {
|
|
"node": "22"
|
|
},
|
|
"main": "lib/index.js",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"lint": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"firebase-admin": "^13.0.0",
|
|
"firebase-functions": "^6.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^5.7.0"
|
|
},
|
|
"private": true
|
|
}
|