This commit is contained in:
2026-03-04 12:34:12 +05:30
parent a9eaa7599c
commit eabf295f2e
17 changed files with 306 additions and 505 deletions

View File

@@ -58,7 +58,8 @@ src/ # Frontend
components/ # BottomNav, LoginCard, GoogleSignInButton, ProtectedRoute
contexts/ # AuthContext (Firebase Google Auth)
lib/
firebase.ts # Firebase auth config (Firestore removed)
firebase.ts # Firebase auth config (Google sign-in only)
api.ts # API client for backend calls
backend/ # FastAPI backend (Port 8001)
main.py # FastAPI app, CORS, routes, lifespan
@@ -90,9 +91,8 @@ backend/ # FastAPI backend (Port 8001)
✅ Pydantic models for User, JournalEntry, UserSettings
✅ Route structure: `/api/users/*` and `/api/entries/*`
✅ CORS enabled for frontend (localhost:8000)
✅ Firestore database files removed (`firestoreService.ts`, `firestoreConfig.ts`)
Firebase authentication kept (Google sign-in only)
✅ Firebase Google Auth kept (Firestore completely removed)
MongoDB as single source of truth
### API Ready
- User registration, profile updates, deletion