feat: Add initial backend server with user authentication, session management, and playlist CRUD functionality.

This commit is contained in:
Michael committed 2025-12-06 01:51:07 +01:00
1 parent a1ce183cd3
commit ac4f274031
19 files changed
+1324 -75

No files matched your search

+2 -4
View File
@@ -1,13 +1,11 @@
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'core/database/hive_service.dart';
import 'core/router/app_router.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
// Initialize Hive database with encryption
await HiveService.init();
// Note: Hive is no longer needed for auth - using API backend now
runApp(const ProviderScope(child: MyApp()));
}
@@ -48,7 +46,7 @@ class MyApp extends ConsumerWidget {
),
),
),
themeMode: ThemeMode.dark, // Default to dark mode for IPTV
themeMode: ThemeMode.system,
routerConfig: router,
);
}