cleanup
This commit is contained in:
8
.github/copilot-instructions.md
vendored
8
.github/copilot-instructions.md
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user