How build-umass/aarti-app works
Main Components
A. Client-Side Layer (Mobile Application)
• Present this as the top-level container
• Divide into these major subsystems:
1. Navigation & Routing
• Tab-based navigation structure
• File-based routing system
• To the various screens/pages
2. Core Features
• Main screens: Chatbot, Profile, Quizzes, Resources
• Settings as a separate route
3. UI Components Layer
• Custom components (Collapsible, ThemedText, etc.)
• Theme system
• Navigation components
4. State & Hooks Layer
• Theme handling
• Custom hooks
┌─────────────────────────────────────────────────────┐
• Mobile Application │
• ┤
• Navigation Layer (File-based Routing) │
• ┬────────────┬────────────┬─────────────┤
• Chatbot │ Profile │ Quizzes │ Resources │
• ┴────────────┴────────────┴─────────────┤
• Component Layer │
• ┤
• Hooks & State Management │
• ┘
Important Elements to Highlight
a. File-based Routing System
• How the app/(tabs) structure maps to navigation
• Relationship between _layout.tsx and child routes
b. Theme System
• Demonstrate how useColorScheme connects to ThemedText and ThemedView
c. Component Architecture
• Hierarchy of reusable components
• How components interact with the theming system