How ajamit17/labwise works
Major Components
• Mobile Frontend: LabWise is built as a React Native mobile app using Expo Router. The main areas include:
• Tab Navigation (found in the app/(tabs) folder) which provides the primary navigation among screens.
• Core Screens: Home/Attendance (index.tsx), Experiment Listing (two.tsx and others), Attendance screens (“attendence” folder), and Experiment Details (app/experiment/[id].tsx).
• UI Components: Reusable components like the ExperimentCard (components folder) make up the building blocks of the UI.
• Context and State: The ThemeContext (in context folder) supports dark/light theme toggling and ensures consistent styling.
• Assets: This includes images, fonts, and other static files used throughout the app.
Relationships and Data Flow
• Data Interaction: Highlight how information is passed from the constants/utilities to the screens and how ThemeContext influences component styling.
• Node is clearly labeled with its role (e.g., “Home Screen”, “Experiment Details”, “Attendance Stats”).
Architecture Patterns
• Modular Architecture: Emphasize how the app is modularized into different folders for routing and functionality (e.g., separate directories for experiments and attendance).
• Separation of Concerns: Illustrate how navigation, UI rendering, state management, and static asset management are distinct components.
• File System Based Routing: Indicate that the physical file structure in the “app” directory drives the navigation hierarchy.