How yashchavan05/memora works
Memora is a React/Express GitHub intelligence platform. Users authenticate, connect GitHub, explore repositories and issues, and use AI-assisted issue analysis and project-context search; the README also describes risk-aware commit analysis and a health dashboard. The graph preserves those documented capabilities, but source evidence is incomplete: some page-to-API flows and context-route behavior are not shown, so those links are omitted. Dashed links mark documented capabilities whose implementation wiring was not sampled.
Main entry points: App.tsx Route shell · aiService.js AI analysis engine · authMiddleware.js Token protection · server.js Express server
Components 29
Web application
- Route shell
frontend/src/App.tsx - Auth state
frontend/src/context/AuthContext.tsx - Health dashboard
frontend/src/pages/DashboardPage.tsx - Repository browser
frontend/src/pages/RepositoriesPage.tsx - Issue browser
frontend/src/pages/IssuesPage.tsx - Issue analysis view
frontend/src/pages/IssueContextPage.tsx - Project context search
frontend/src/pages/ContextSearchPage.tsx - Integration settings
frontend/src/pages/IntegrationsPage.tsx - Auth API client
frontend/src/services/authService.ts - AI API client
frontend/src/services/aiService.js - GitHub API client
frontend/src/services/githubService.js - Integration API client
frontend/src/services/integrationService.ts
API and identity
- Express server
backend/server.js - Authentication routes
backend/routes/authRoutes.js - GitHub routes
backend/routes/githubRoutes.js - AI routes
backend/routes/aiRoutes.js - Integration routes
backend/routes/integrationRoutes.js - Authentication logic
backend/controllers/authController.js - Token protection
backend/middleware/authMiddleware.js
GitHub integration
- GitHub handlers
backend/controllers/githubController.js - GitHub data service
backend/services/githubService.js - GitHub connection and sync
backend/controllers/integrationController.js - GitHub API
AI intelligence
- AI handlers
backend/controllers/aiController.js - AI analysis engine
backend/services/aiService.js - Gemini / OpenAI
User state
- MongoDB user records
backend/models/User.js - MongoDB
Other components
- Team member
Connections 38
- Team member → Route shell: uses
frontend/src/App.tsx - Route shell → Auth state: provides auth
frontend/src/App.tsx - Route shell → Health dashboard: routes to
frontend/src/App.tsx - Route shell → Repository browser: routes to
frontend/src/App.tsx - Route shell → Issue browser: routes to
frontend/src/App.tsx - Route shell → Issue analysis view: routes to
frontend/src/App.tsx - Route shell → Project context search: routes to
frontend/src/App.tsx - Route shell → Integration settings: routes to
frontend/src/App.tsx - Auth state → Auth API client: calls
frontend/src/context/AuthContext.tsx - Issue analysis view → AI API client: calls
frontend/src/pages/IssueContextPage.tsx - Issue analysis view → GitHub API client: calls
frontend/src/pages/IssueContextPage.tsx - Integration settings → Integration API client: calls
frontend/src/pages/IntegrationsPage.tsx - Express server → Authentication routes: mounts
backend/server.js - Express server → GitHub routes: mounts
backend/server.js - Express server → AI routes: mounts
backend/server.js - Express server → Integration routes: mounts
backend/server.js - Authentication routes → Authentication logic: dispatches
backend/routes/authRoutes.js - Authentication routes → Token protection: protects
backend/routes/authRoutes.js - GitHub routes → GitHub handlers: dispatches
backend/routes/githubRoutes.js - GitHub routes → Token protection: protects
backend/routes/githubRoutes.js - AI routes → AI handlers: dispatches
backend/routes/aiRoutes.js - AI routes → Token protection: protects
backend/routes/aiRoutes.js - Integration routes → GitHub connection and sync: dispatches
backend/routes/integrationRoutes.js - Integration routes → Token protection: protects
backend/routes/integrationRoutes.js - Authentication logic → MongoDB user records: reads and writes
backend/controllers/authController.js - Token protection → MongoDB user records: loads user
backend/middleware/authMiddleware.js - GitHub connection and sync → MongoDB user records: updates connection
backend/controllers/integrationController.js - GitHub handlers → GitHub data service: delegates
backend/controllers/githubController.js - AI handlers → AI analysis engine: delegates
backend/controllers/aiController.js - AI handlers → GitHub data service: uses data
backend/controllers/aiController.js - GitHub connection and sync → GitHub API: OAuth and sync
backend/controllers/integrationController.js - GitHub data service → GitHub API: fetches GitHub data
backend/services/githubService.js - AI analysis engine → Gemini / OpenAI: analyzes with
- MongoDB user records → MongoDB: stores records
- AI analysis engine → Issue analysis view: supports issue analysis
- AI analysis engine → Project context search: supports context answers
- AI analysis engine → Health dashboard: provides health insights
- AI analysis engine → GitHub data service: analyzes commits and issues