cleanup
This commit is contained in:
@@ -62,7 +62,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
|
||||
@@ -96,9 +97,8 @@ _Last updated: 2026-03-04_
|
||||
✅ 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
|
||||
|
||||
Reference in New Issue
Block a user