mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 21:19:40 +02:00
Align mobile AuthProviders (chat, manacore) with web auth stores:
- Replace { error: { message } | null } with { success: boolean, error?: string }
- Add needsVerification support to signUp return type
- Update all consumer screens (login, register, reset-password) accordingly
All auth methods across web and mobile now use the same return pattern.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| app | ||
| assets | ||
| components | ||
| config | ||
| context | ||
| hooks | ||
| readme | ||
| scripts | ||
| services | ||
| supabase/.temp | ||
| theme | ||
| types | ||
| utils | ||
| .env.example | ||
| .gitignore | ||
| app-env.d.ts | ||
| app.json | ||
| babel.config.js | ||
| cesconfig.json | ||
| CLAUDE.md | ||
| eas.json | ||
| eslint.config.mjs | ||
| global.css | ||
| metro.config.js | ||
| nativewind-env.d.ts | ||
| package.json | ||
| prettier.config.js | ||
| README.md | ||
| tailwind.config.js | ||
| test-api.js | ||
| test-openai.js | ||
| tsconfig.json | ||
| types.ts | ||
| VEREINFACHUNG.md | ||
| VEREINFACHUNG_STATUS.md | ||
Chat App
Eine moderne mobile Chat-Anwendung zur Interaktion mit verschiedenen KI-Sprachmodellen.
Funktionen
- 💬 Chat mit verschiedenen KI-Modellen (GPT-4, GPT-3.5, Claude 3)
- 🔄 Verschiedene Konversationsmodi (frei, geführt, vorlagenbasiert)
- 👤 Benutzerauthentifizierung (Registrierung, Anmeldung, Passwort-Reset)
- 📱 Cross-Platform (iOS, Android, Web) mit Expo
- 🎨 Modernes UI mit NativeWind (Tailwind CSS)
Technologie-Stack
- Frontend: React Native mit Expo SDK 52
- Routing: Expo Router v4
- Styling: NativeWind (Tailwind CSS)
- Backend: Supabase (Auth, PostgreSQL)
- API: Azure OpenAI API
Einrichtung
-
Repository klonen
git clone <repository-url> cd chat -
Abhängigkeiten installieren
npm install -
Umgebungsvariablen konfigurieren
cp .env.example .envDann
.envmit deinen Supabase- und Azure OpenAI-Zugangsdaten bearbeiten. -
Entwicklungsserver starten
npm run start
Projektstruktur
/app- Hauptanwendungslogik (Expo Router)/components- Wiederverwendbare UI-Komponenten/services- Business-Logik und API-Dienste/utils- Hilfsfunktionen/context- React Context Provider
Nutzung
Nach dem Start kannst du:
- Dich registrieren oder anmelden
- Ein KI-Modell auswählen
- Eine neue Konversation starten
- Zwischen verschiedenen Konversationsmodi wechseln
Lizenz
MIT