24 lines
617 B
Dart
24 lines
617 B
Dart
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(),
|
|
),
|
|
);
|
|
}
|