Initial commit: QR Scanner Flutter app

App móvil para validar pases QR contra base-admin-web con login Cognito,
escáner en tiempo real, feedback auditivo/háptico y README completo.
This commit is contained in:
Alejandro Lara
2026-06-09 17:03:06 -06:00
commit 50fe9a9d36
83 changed files with 4613 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
/// URL base del API de base-admin-web.
///
/// Configúrala al ejecutar o compilar si necesitas otra IP:
/// `flutter run --dart-define=API_BASE_URL=http://otra-ip:8080`
class ApiConfig {
ApiConfig._();
static const String baseUrl = String.fromEnvironment(
'API_BASE_URL',
defaultValue: 'http://10.99.51.6:8080',
);
static String get loginUrl => '$baseUrl/api/auth/login';
static String get scanUrl => '$baseUrl/api/pass-codes/scan';
}