How gabriel-codes-droid/personal-management-dashboard works
PMD is a browser-based personal management dashboard. Users sign in or create an account, then navigate protected sections to manage finances, meals, activities, notifications, and deleted records; admins also manage users. The React app routes these experiences through an API layer to Firebase, while authentication maintains user state. Meals additionally support barcode-based nutrition lookup. The README documents broader product features than the sampled excerpts; feature-to-API links reflect its stated API-layer architecture, while uncertain page-specific wiring is omitted.
Main entry points: App.tsx App routing · api.ts Feature API layer · Meals.tsx Meal tracking · firebaseAuth.ts Firebase auth operations
Components 23
Application UI
- App routing
src/App.tsx - Dashboard
src/Home.tsx - Account settings
src/Settings.tsx
Identity
- Sign-in and signup
src/Login.tsx - Auth context
src/auth.tsx - Firebase auth operations
src/firebaseAuth.ts
Personal Management
- Finance tracking
src/Finance.tsx - Meal tracking
src/Meals.tsx - Activity tracking
src/Activity.tsx - Notification center
src/Notifications.tsx - Trash recovery
src/Trash.tsx - Admin panel
src/Admin.tsx
Firebase Platform
- Feature API layer
src/api.ts - Firebase API
src/firebaseApi.ts - Firestore operations
src/firebaseDb.ts - Firestore data
- Firebase Authentication
Supporting Services
- Notification service
src/notificationService.ts - Barcode scanner
src/Meals.tsx - Cloud Functions
functions/index.js
Other components
- Dashboard user
- Open Food Facts
- Resend email
Connections 32
- Dashboard user → App routing: uses
- App routing → Auth context: checks session
- App routing → Dashboard: routes
- App routing → Finance tracking: routes
- App routing → Meal tracking: routes
- App routing → Activity tracking: routes
- App routing → Notification center: routes
- App routing → Trash recovery: routes
- App routing → Admin panel: routes
- App routing → Account settings: routes
- App routing → Sign-in and signup: routes
- Sign-in and signup → Auth context: authenticates via
- Auth context → Firebase auth operations: calls
- Firebase auth operations → Firebase Authentication: authenticates
- Firebase auth operations → Firestore data: reads/writes profiles
- Finance tracking → Feature API layer: uses
- Meal tracking → Feature API layer: uses
- Activity tracking → Feature API layer: uses
- Notification center → Feature API layer: uses
- Trash recovery → Feature API layer: uses
- Admin panel → Feature API layer: uses
- Account settings → Feature API layer: uses
- Dashboard → Feature API layer: uses
- Feature API layer → Firebase API: delegates
- Firebase API → Firestore operations: calls
- Firestore operations → Firestore data: reads/writes
- Meal tracking → Barcode scanner: scans products
- Meal tracking → Open Food Facts: looks up nutrition
- Notification center → Notification service: manages alerts
- Notification service → Firestore data: persists notifications
- Cloud Functions → Firestore data: reads/writes
- Cloud Functions → Resend email: sends digest