55 lines
1.6 KiB
Markdown
55 lines
1.6 KiB
Markdown
|
|
# Folder Structure
|
||
|
|
|
||
|
|
## Source Code (`lib/`)
|
||
|
|
|
||
|
|
```
|
||
|
|
lib/
|
||
|
|
├── core/
|
||
|
|
│ ├── analytics/ # Analytics integration
|
||
|
|
│ ├── api/ # API client & interceptors
|
||
|
|
│ ├── auth/ # Authentication logic
|
||
|
|
│ ├── storage/ # Local storage implementations
|
||
|
|
│ ├── utils/ # Utility functions
|
||
|
|
│ ├── constants.dart # App-wide constants
|
||
|
|
│ └── theme_manager.dart # Dark/Light mode state
|
||
|
|
│
|
||
|
|
├── features/
|
||
|
|
│ ├── auth/ # Login, registration, session
|
||
|
|
│ ├── events/ # Event listing, detail, creation
|
||
|
|
│ ├── gamification/ # EP, RP, leaderboard, achievements
|
||
|
|
│ └── reviews/ # Review system
|
||
|
|
│
|
||
|
|
├── screens/
|
||
|
|
│ ├── home_screen.dart
|
||
|
|
│ ├── home_desktop_screen.dart
|
||
|
|
│ ├── login_screen.dart
|
||
|
|
│ ├── desktop_login_screen.dart
|
||
|
|
│ ├── booking_screen.dart
|
||
|
|
│ ├── calendar_screen.dart
|
||
|
|
│ ├── profile_screen.dart
|
||
|
|
│ ├── search_screen.dart
|
||
|
|
│ ├── responsive_layout.dart
|
||
|
|
│ └── ...
|
||
|
|
│
|
||
|
|
├── widgets/ # Reusable UI components
|
||
|
|
└── main.dart # Entry point
|
||
|
|
```
|
||
|
|
|
||
|
|
## Platform Folders
|
||
|
|
| Folder | Purpose |
|
||
|
|
|--------|---------|
|
||
|
|
| `android/` | Android native code |
|
||
|
|
| `ios/` | iOS native code |
|
||
|
|
| `web/` | Web entrypoint |
|
||
|
|
| `macos/` | macOS native |
|
||
|
|
| `windows/` | Windows native |
|
||
|
|
| `linux/` | Linux native |
|
||
|
|
|
||
|
|
## Assets
|
||
|
|
```
|
||
|
|
assets/
|
||
|
|
├── images/
|
||
|
|
├── fonts/
|
||
|
|
└── videos/
|
||
|
|
```
|