diff --git a/apps/app-admin/.gitignore b/apps/app-admin/.gitignore deleted file mode 100644 index 24476c5d..00000000 --- a/apps/app-admin/.gitignore +++ /dev/null @@ -1,44 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ -migrate_working_dir/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# The .vscode folder contains launch configuration and tasks you configure in -# VS Code which you may wish to be included in version control, so this line -# is commented out by default. -#.vscode/ - -# Flutter/Dart/Pub related -**/doc/api/ -**/ios/Flutter/.last_build_id -.dart_tool/ -.flutter-plugins -.flutter-plugins-dependencies -.packages -.pub-cache/ -.pub/ -/build/ - -# Symbolication related -app.*.symbols - -# Obfuscation related -app.*.map.json - -# Android Studio will place build artifacts here -/android/app/debug -/android/app/profile -/android/app/release diff --git a/apps/app-admin/Dockerfile b/apps/app-admin/Dockerfile deleted file mode 100644 index f3a6f3db..00000000 --- a/apps/app-admin/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-admin/README.md b/apps/app-admin/README.md deleted file mode 100644 index 3a9e8f89..00000000 --- a/apps/app-admin/README.md +++ /dev/null @@ -1,43 +0,0 @@ -# App Admin (Flutter) - -Flutter mobile application for GoodGo Platform Admin Panel. - -## 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-admin/lib/main.dart b/apps/app-admin/lib/main.dart deleted file mode 100644 index c6a91c3e..00000000 --- a/apps/app-admin/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 Admin', - 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 Admin'), - ), - body: const Center( - child: Text('Welcome to GoodGo Admin'), - ), - ); - } -} - -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-admin/pubspec.yaml b/apps/app-admin/pubspec.yaml deleted file mode 100644 index 449a10bd..00000000 --- a/apps/app-admin/pubspec.yaml +++ /dev/null @@ -1,24 +0,0 @@ -name: app_admin -description: GoodGo Platform Admin 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