How varshithakotla/majorproject works
CodeMentor AI is a React frontend presenting an onboarding workspace for repository intelligence. The user journey runs from the landing page through login or registration into a routed dashboard shell, where users can visit repository upload, chat, exploration, documentation, analytics, and settings screens. The sampled upload and chat pages show UI states and sample content, not connections to ingestion or AI services; the graph therefore describes the frontend structure rather than claiming backend processing. Routes are explicit in App.jsx; several page capabilities are documented but their implementation was not sampled.
Main entry points: App.jsx Route controller · DashboardPage.jsx Dashboard overview · main.jsx React entry · LoginPage.jsx Login page
Components 14
Entry and access
- React entry
src/main.jsx - Route controller
src/App.jsx - Landing page
src/pages/LandingPage.jsx - Login page
src/pages/LoginPage.jsx - Registration page
src/pages/RegisterPage.jsx
Workspace shell
- Workspace layout
src/components/Layout.jsx
Repository workspace
- Repository upload
src/pages/UploadPage.jsx - Chat assistant
src/pages/ChatPage.jsx - Repository explorer
src/pages/ExplorerPage.jsx - Documentation hub
src/pages/DocumentationPage.jsx
Insights and preferences
- Dashboard overview
src/pages/DashboardPage.jsx - Usage analytics
src/pages/AnalyticsPage.jsx - Workspace settings
src/pages/SettingsPage.jsx
Other components
- Workspace user
Connections 15
- Workspace user → React entry: opens app
src/main.jsx - React entry → Route controller: renders
src/main.jsx - Route controller → Landing page: routes to
src/App.jsx - Route controller → Login page: routes to
src/App.jsx - Route controller → Registration page: routes to
src/App.jsx - Route controller → Workspace layout: wraps routes
src/App.jsx - Route controller → Dashboard overview: routes to
src/App.jsx - Route controller → Repository upload: routes to
src/App.jsx - Route controller → Chat assistant: routes to
src/App.jsx - Route controller → Repository explorer: routes to
src/App.jsx - Route controller → Documentation hub: routes to
src/App.jsx - Route controller → Usage analytics: routes to
src/App.jsx - Route controller → Workspace settings: routes to
src/App.jsx - Login page → Dashboard overview: navigates to
src/pages/LoginPage.jsx - Registration page → Dashboard overview: navigates to
src/pages/RegisterPage.jsx