How theolidec/comprehensivelocalecosystem works
This is a React/Express personal-ecosystem application: users authenticate, enter protected feature pages, and manage personal information and activities through backend APIs backed by MongoDB models. Its major branches include calendar, files, finance, music, wiki, tracker, wishlist, radiation, and account/security features. The excerpts directly show routing, authentication, tracker persistence, and selected controller/model interactions; many feature routes and clients are indexed but unsampled, so those connections are marked unverified rather than inferred as call chains.
Main entry points: App.js App routing · auth.js Authentication routes · tracker.js Tracker routes · server.js API server
Components 34
Web experience
- App routing
frontend/src/App.js - Protected routes
frontend/src/components/Auth/ProtectedRoute.js
Identity and account
- Sign-in UI
frontend/src/components/Auth/AuthPage.js - Authentication routes
backend/routes/auth.js - Token middleware
backend/middleware/auth.js - User records
backend/models/User.js - Refresh tokens
backend/models/RefreshToken.js
Personal tools
- Calendar
frontend/src/components/Pages/Calendar.js - Calendar routes
backend/routes/calendar.js - Calendar operations
backend/controllers/calendarController.js - Calendar events
backend/models/Event.js - Daily tracker
frontend/src/components/Tracker/DailyTracker.js - Tracker routes
backend/routes/tracker.js - Tracker records
backend/models/TrackerResponse.js - Recurring tasks
backend/models/TrackerTask.js - Finance
frontend/src/components/Pages/Finance.js - Finance operations
backend/controllers/financeController.js - Finance records
backend/models/FinanceTransaction.js - Wishlist
frontend/src/components/Wishlist/Wishlist.js - Radiation tracking
frontend/src/components/Pages/Radiation.js - Radiation operations
backend/controllers/radiationController.js
Content and media
- File manager
frontend/src/components/Pages/FileManager.js - File client
frontend/src/services/fileService.js - File routes
backend/routes/files.js - File operations
backend/controllers/fileController.js - File records
backend/models/File.js - Wiki experience
frontend/src/components/Wiki/WikiView.js - Wiki state
frontend/src/contexts/WikiContext.js - Wiki pages
backend/controllers/wikiPageController.js - Wiki records
backend/models/WikiPage.js - Music library
frontend/src/components/Pages/Music.js - Music operations
backend/controllers/musicController.js
Backend platform
- API server
backend/server.js
Other components
- User
Connections 37
- User → App routing: uses
README.md - App routing → Protected routes: routes through
frontend/src/App.js - App routing → Sign-in UI: renders
frontend/src/App.js - App routing → Calendar: routes to
frontend/src/App.js - App routing → Daily tracker: routes to
frontend/src/App.js - App routing → Finance: routes to
- App routing → File manager: routes to
frontend/src/App.js - App routing → Wiki experience: routes to
frontend/src/App.js - App routing → Music library: routes to
frontend/src/App.js - App routing → Wishlist: routes to
frontend/src/App.js - App routing → Radiation tracking: routes to
frontend/src/App.js - Sign-in UI → Authentication routes: submits credentials
- Authentication routes → User records: reads and updates
backend/routes/auth.js - Authentication routes → Refresh tokens: creates tokens
backend/routes/auth.js - Token middleware → User records: loads account
backend/middleware/auth.js - Token middleware → Refresh tokens: verifies token
backend/middleware/auth.js - Calendar → Calendar routes: requests calendar data
- Calendar routes → Calendar operations: dispatches
- Calendar operations → Calendar events: manages events
- Daily tracker → Tracker routes: requests tracker data
- Tracker routes → Recurring tasks: queries tasks
backend/routes/tracker.js - Tracker routes → Tracker records: reads and updates
backend/routes/tracker.js - Tracker records → Recurring tasks: references task model
backend/models/TrackerResponse.js - Finance → Finance operations: requests finance data
- Finance operations → Finance records: creates transactions
backend/controllers/financeController.js - File manager → File client: calls
frontend/src/components/Pages/FileManager.js - File client → File routes: requests file APIs
- File routes → File operations: dispatches
- File operations → File records: manages files
backend/controllers/fileController.js - Wiki experience → Wiki state: uses state
- Wiki state → Wiki pages: requests wiki pages
- Wiki pages → Wiki records: reads and updates
backend/controllers/wikiPageController.js - Music library → Music operations: requests music data
- Wishlist → API server: uses wishlist APIs
- Radiation tracking → Radiation operations: requests measurements
- Radiation operations → API server: serves through API
- API server → Authentication routes: mounts routes
backend/server.js