diff --git a/apps/app-client/Dockerfile b/apps/app-client/Dockerfile deleted file mode 100644 index f3a6f3db..00000000 --- a/apps/app-client/Dockerfile +++ /dev/null @@ -1,20 +0,0 @@ -# Flutter build stage -FROM ghcr.io/cirruslabs/flutter:stable AS build - -WORKDIR /app - -# Copy pubspec files -COPY pubspec.yaml pubspec.lock ./ - -# Get dependencies -RUN flutter pub get - -# Copy source code -COPY . . - -# Build APK (for CI/CD purposes) -# Note: Actual mobile builds require native tooling -RUN flutter build apk --release || echo "Build skipped - requires Android SDK" - -# For CI/CD testing only -CMD ["flutter", "test"] diff --git a/apps/app-client/README.md b/apps/app-client/README.md deleted file mode 100644 index f9642b63..00000000 --- a/apps/app-client/README.md +++ /dev/null @@ -1,43 +0,0 @@ -# App Client (Flutter) - -Flutter mobile application for GoodGo Platform Client Portal. - -## Features - -- Flutter 3.x -- Material Design 3 -- GoRouter for navigation -- Provider for state management -- API integration - -## Prerequisites - -- Flutter SDK >= 3.0.0 -- Dart SDK >= 3.0.0 -- Android Studio / Xcode - -## Development - -```bash -# Install dependencies -flutter pub get - -# Run on Android -flutter run - -# Run on iOS -flutter run -d ios - -# Build APK -flutter build apk - -# Build iOS -flutter build ios -``` - -## Environment Variables - -Create `.env` file: -``` -API_URL=http://localhost/api/v1 -``` diff --git a/apps/app-client/lib/main.dart b/apps/app-client/lib/main.dart deleted file mode 100644 index 808f72b6..00000000 --- a/apps/app-client/lib/main.dart +++ /dev/null @@ -1,71 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:go_router/go_router.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({super.key}); - - @override - Widget build(BuildContext context) { - return MaterialApp.router( - title: 'GoodGo Client', - theme: ThemeData( - colorScheme: ColorScheme.fromSeed(seedColor: Colors.blue), - useMaterial3: true, - ), - routerConfig: _router, - ); - } -} - -final GoRouter _router = GoRouter( - routes: [ - GoRoute( - path: '/', - builder: (BuildContext context, GoRouterState state) { - return const HomeScreen(); - }, - ), - GoRoute( - path: '/login', - builder: (BuildContext context, GoRouterState state) { - return const LoginScreen(); - }, - ), - ], -); - -class HomeScreen extends StatelessWidget { - const HomeScreen({super.key}); - - @override - Widget build(BuildContext context) { - return Scaffold( - appBar: AppBar( - title: const Text('GoodGo Client'), - ), - body: const Center( - child: Text('Welcome to GoodGo Client'), - ), - ); - } -} - -class LoginScreen extends StatelessWidget { - const LoginScreen({super.key}); - - @override - Widget build(BuildContext context) { - return Scaffold( - appBar: AppBar( - title: const Text('Login'), - ), - body: const Center( - child: Text('Login Screen'), - ), - ); - } -} diff --git a/apps/app-client/pubspec.yaml b/apps/app-client/pubspec.yaml deleted file mode 100644 index 3afe4b4e..00000000 --- a/apps/app-client/pubspec.yaml +++ /dev/null @@ -1,24 +0,0 @@ -name: app_client -description: GoodGo Platform Client Mobile Application (Flutter) -publish_to: 'none' -version: 1.0.0+1 - -environment: - sdk: '>=3.0.0 <4.0.0' - -dependencies: - flutter: - sdk: flutter - cupertino_icons: ^1.0.6 - http: ^1.1.0 - shared_preferences: ^2.2.2 - provider: ^6.1.1 - go_router: ^13.0.0 - -dev_dependencies: - flutter_test: - sdk: flutter - flutter_lints: ^3.0.0 - -flutter: - uses-material-design: true