A modern, real-time Multi Commodity Exchange (MCX) market viewer application built with Flutter that provides live updates using Server-Sent Events (SSE).
- 🔄 Real-time stock price updates using SSE
- 📱 Cross-platform support (iOS, Android, Web)
- 💾 Local data persistence using SharedPreferences
- 🎨 Modern Material Design UI
- 📊 Interactive stock price charts
- 🌙 Dark mode support
- Framework: Flutter 3.x
- Language: Dart 3.8+
- State Management: Built-in StatefulWidget
- Network: HTTP package for API calls
- Real-time Updates: Server-Sent Events (SSE)
- Local Storage: SharedPreferences
- Build System: Gradle (Android), Xcode (iOS)
- Flutter SDK 3.x or higher
- Dart SDK 3.8.1 or higher
- Android Studio / Xcode (for mobile development)
- A compatible IDE (VS Code recommended)
-
Clone the repository:
git clone https://github.com/yourusername/mcxnow.git cd mcxnow -
Install dependencies:
flutter pub get
-
Run the app:
flutter run
-
Create a
key.propertiesfile atandroid/key.properties:storeFile=/absolute/path/to/release.keystore storePassword=YOUR_STORE_PASSWORD keyAlias=YOUR_KEY_ALIAS keyPassword=YOUR_KEY_PASSWORD
-
Place your keystore at the path in
storeFile(e.g.,android/app/release.keystore). -
Build signed APK/AAB:
flutter build apk --release # or flutter build appbundle --release
- Open
ios/Runner.xcworkspacein Xcode - Configure signing in Xcode
- Build the app:
flutter build ios --release
The app can be configured through environment variables or configuration files. Check the documentation for more details.
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
