General project description can be found here: TORIUM-Torium-generalinfo-280123-0718.pdf
dependencies:
flutter:
sdk: flutter
quickalert: ^1.0.0
amplify_flutter: <1.0.0
amplify_auth_cognito: <1.0.0
amplify_authenticator: ^0.2.0
flutter_spinkit: ^5.1.0
http: ^0.13.5
intl_phone_field: ^3.1.0
phone_number: ^1.0.0
shared_preferences: ^2.0.15
code_input: ^2.0.0
firebase_core: ^2.1.1
badges: ^2.0.3
intl: ^0.17.0
dropdown_button2: ^1.8.9
string_extensions: ^0.6.4
table_calendar: ^2.2.1
cupertino_icons: ^1.0.2
firebase_messaging: ^14.0.3
flutter_local_notifications: ^12.0.3
url_launcher: ^6.1.6
Dependencies can be installed by:
flutter pub get
Files located under lib/api includes classes to fetch data from Backend. Data flow for fetching data from Backend:
Process of authentication is configured using AWS Cognito User Pool + integration using AWS Amplify + flutter dependencies:
amplify_flutter: <1.0.0
amplify_auth_cognito: <1.0.0
amplify_authenticator: ^0.2.0
Configuration of Amplify within Flutter project:
flutter pub get
amplify init
amplify add auth
amplify push
Configuration class for Cognito and Amplify can be found under lib/authentication/amplify.dart
While registration - app is integrated with preSignUp and postConfirmation Lambda triggers that save/confirm user in Relational Database. Dataflow for registration process:
After providing email + password user is redirected to main page.