How pratyanj/paldex works
Main Application Architecture Layer
• Inside this container, create three main sections:
a. Navigation Layer (based on file-based routing)
b. Core Features Layer
c. Data Layer
Navigation Structure (Top Layer)
• Tab navigation structure with four main tabs:
• Breeding
• Construction
• Inventory
• Map
• Sub-navigation routes for detailed screens
Core Features Layer (Middle)
a. Inventory Management System:
• Connections to multiple inventory types (Weapons, Armor, Accessories, etc.)
• Link to respective detail screens
• To component library
b. Breeding System:
• FindParent and KnowOffspring components
• Link to breeding data source
c. Construction System:
• Link Production screens
• To production data
d. System:
• Tile management system
• To map assets
Components Layer
• Work_Suitability
• General_screen
• Inventory components (CraftingRecipe, ItemCard, etc.)
• Micro components (BottomSheetDrawer, filters)
Data Layer (Bottom)
Data structure with:
• JSON data files organization
• Asset management (images, fonts)
• Constants and configurations
State Management
• ThemeContext provider
• Hooks integration (useColorScheme, useThemeColor)
Use these visual elements:
• Blue: Navigation components
• Green: Core features
• Yellow: Data layer
• Purple: Shared components
• Gray: Configuration files
• Symbols:
• Rectangles: Components/Modules
• Hexagons: Entry points
Important Considerations:
Theme system and its integration across the app
Additional Notes:
• Annotations for key architectural decisions
• Relationship between screens and their corresponding data sources
Remember to highlight the Expo-specific architecture elements and how they integrate with the custom components and features of the application.