mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 19:41:09 +02:00
Feat: docs
This commit is contained in:
parent
9a84cc06d6
commit
ce71db2fc0
1 changed files with 65 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ Dieses Dokument bietet eine umfassende Übersicht über alle Projekte im Manacor
|
||||||
- [Picture](#picture)
|
- [Picture](#picture)
|
||||||
- [uLoad](#uload)
|
- [uLoad](#uload)
|
||||||
- [Chat](#chat)
|
- [Chat](#chat)
|
||||||
|
- [Nutriphi](#nutriphi)
|
||||||
3. [Shared Packages](#shared-packages)
|
3. [Shared Packages](#shared-packages)
|
||||||
4. [Technologie-Stack](#technologie-stack)
|
4. [Technologie-Stack](#technologie-stack)
|
||||||
5. [Entwicklung](#entwicklung)
|
5. [Entwicklung](#entwicklung)
|
||||||
|
|
@ -49,6 +50,7 @@ pnpm run manadeck:dev
|
||||||
pnpm run memoro:dev
|
pnpm run memoro:dev
|
||||||
pnpm run picture:dev
|
pnpm run picture:dev
|
||||||
pnpm run uload:dev
|
pnpm run uload:dev
|
||||||
|
pnpm run nutriphi:dev
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
@ -348,6 +350,69 @@ chat/
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
### Nutriphi
|
||||||
|
|
||||||
|
**KI-gestützter Ernährungs-Tracker**
|
||||||
|
|
||||||
|
Nutriphi ist ein intelligenter Ernährungs-Tracker, der mithilfe von Google Gemini Vision API Fotos von Mahlzeiten analysiert und automatisch Nährwertinformationen extrahiert.
|
||||||
|
|
||||||
|
#### Features
|
||||||
|
- KI-gestützte Mahlzeitenanalyse aus Fotos
|
||||||
|
- Automatische Erkennung von Kalorien, Protein, Kohlenhydraten, Fett
|
||||||
|
- Tägliche Ernährungsbilanz und Statistiken
|
||||||
|
- Manuelle Eingabe über Textbeschreibung
|
||||||
|
- Personalisierte Gesundheitstipps
|
||||||
|
- Offline-Speicherung mit SQLite
|
||||||
|
- Cloud-Sync mit Supabase
|
||||||
|
|
||||||
|
#### Tech-Stack
|
||||||
|
| Komponente | Technologie |
|
||||||
|
|------------|-------------|
|
||||||
|
| Backend | NestJS (Port 3002) |
|
||||||
|
| Mobile | Expo SDK 53 + React Native 0.79 |
|
||||||
|
| Web | SvelteKit |
|
||||||
|
| Landing | Astro |
|
||||||
|
| KI | Google Gemini Vision API |
|
||||||
|
| Datenbank | Supabase (PostgreSQL), SQLite (lokal) |
|
||||||
|
| State | Zustand |
|
||||||
|
|
||||||
|
#### Projektstruktur
|
||||||
|
```
|
||||||
|
nutriphi/
|
||||||
|
├── apps/
|
||||||
|
│ ├── mobile/ # Expo React Native App (@nutriphi/mobile)
|
||||||
|
│ ├── web/ # SvelteKit Web App (@nutriphi/web)
|
||||||
|
│ └── landing/ # Astro Landing Page (@nutriphi/landing)
|
||||||
|
├── backend/ # NestJS API Server (@nutriphi/backend)
|
||||||
|
```
|
||||||
|
|
||||||
|
#### API Endpoints
|
||||||
|
| Endpoint | Methode | Beschreibung |
|
||||||
|
|----------|---------|--------------|
|
||||||
|
| `/api/health` | GET | Health Check |
|
||||||
|
| `/api/meals/analyze/image` | POST | Mahlzeit-Foto analysieren |
|
||||||
|
| `/api/meals/analyze/text` | POST | Mahlzeit-Text analysieren |
|
||||||
|
| `/api/meals` | POST | Mahlzeit speichern |
|
||||||
|
| `/api/meals/user/:userId` | GET | Mahlzeiten eines Users |
|
||||||
|
| `/api/meals/user/:userId/summary` | GET | Tagesbilanz |
|
||||||
|
|
||||||
|
#### Entwicklung
|
||||||
|
```bash
|
||||||
|
# Backend starten
|
||||||
|
pnpm dev:nutriphi:backend
|
||||||
|
|
||||||
|
# Mobile App starten
|
||||||
|
pnpm dev:nutriphi:mobile
|
||||||
|
|
||||||
|
# Web App starten
|
||||||
|
pnpm dev:nutriphi:web
|
||||||
|
|
||||||
|
# Landing Page starten
|
||||||
|
pnpm dev:nutriphi:landing
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## Shared Packages
|
## Shared Packages
|
||||||
|
|
||||||
Alle Projekte teilen gemeinsame Packages unter `packages/`:
|
Alle Projekte teilen gemeinsame Packages unter `packages/`:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue