first commit
This commit is contained in:
23
lib/main.dart
Normal file
23
lib/main.dart
Normal file
@@ -0,0 +1,23 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
|
||||
import 'app/app.dart';
|
||||
import 'core/config/supabase_config.dart';
|
||||
|
||||
/// RIOTZ - Underground Social & Music Platform
|
||||
///
|
||||
/// Main entry point for the application.
|
||||
/// Tech Stack: Flutter frontend, Supabase backend.
|
||||
void main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
|
||||
// Initialize Supabase configuration
|
||||
// This expects SUPABASE_URL and SUPABASE_ANON_KEY to be provided via --dart-define
|
||||
await SupabaseConfig.initialize();
|
||||
|
||||
runApp(
|
||||
const ProviderScope(
|
||||
child: RiotzApp(),
|
||||
),
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user