Flutter App
This commit is contained in:
@@ -11,15 +11,18 @@
|
||||
- **WebSockets**: Native `ws` or Fastify WS plugin
|
||||
- **Deployment**: Docker containers
|
||||
|
||||
## Frontend (Electron Desktop App)
|
||||
## Frontend (Flutter Cross-Platform App)
|
||||
|
||||
- **Framework**: Electron 30+
|
||||
- **UI Library**: NextJS? + TypeScript/TSX
|
||||
- **Build Tool**: Vite
|
||||
- **Styling**: TailwindCSS
|
||||
- **Charts**: Recharts, ECharts, or TradingView Charting Library
|
||||
- **State Management**: Zustand or Recoil
|
||||
- **Auto-updates**: electron-updater
|
||||
- **Framework**: Flutter 3.38+
|
||||
- **Language**: Dart 3.10+
|
||||
- **State Management**: Provider
|
||||
- **Charts**: fl_chart
|
||||
- **Styling**: Material Design 3
|
||||
- **WebSocket**: web_socket_channel
|
||||
- **Storage**: shared_preferences + sqflite
|
||||
- **Notifications**: flutter_local_notifications
|
||||
- **Window Management**: window_manager (desktop)
|
||||
- **Platforms**: Windows, macOS, Linux, Android, iOS
|
||||
|
||||
## Testing
|
||||
|
||||
@@ -36,11 +39,14 @@ npm run build # Build TypeScript
|
||||
npm run test # Run Jest tests
|
||||
npm run scrape # Manual scrape trigger
|
||||
|
||||
# Frontend (Electron)
|
||||
npm run dev # Start Electron in dev mode
|
||||
npm run build # Build production app
|
||||
npm run package # Package for distribution
|
||||
npm run test # Run tests
|
||||
# Frontend (Flutter)
|
||||
flutter run -d windows # Run on Windows
|
||||
flutter run -d android # Run on Android
|
||||
flutter run -d ios # Run on iOS
|
||||
flutter build windows # Build Windows release
|
||||
flutter build apk # Build Android APK
|
||||
flutter pub get # Install dependencies
|
||||
flutter doctor # Check setup
|
||||
|
||||
# Database
|
||||
npm run migrate # Run database migrations
|
||||
|
||||
Reference in New Issue
Block a user