...
The documentation is compatible with User App v1.5.1 3 and will be updated and added to gradually.
How to Run the App:
Flutter and Dart Versions:
Ensure that your development environment is using Flutter version 3.10.2 and Dart version 3.0.2. Confirm that the versions installed on your PC align with those specified in the documentation.
Back End Compatibility:
The project is designed to be compatible with Back End version 1.4.0. Ensure that your Back-End environment is set to this version.
GraphQL Schema Update:
If there are changes to the GraphQL schema on the Back End side:
Delete the existing schema:
lib/infrastructure/scheme.graphql
Fetch a new schema by running:
get-graphql-schema ENDPOINT_URL > lib/infrastructure/schema.graphql
Ensure that the endpoint URL is in full format (e.g.,
https://${ENDPOINT_URL}/graphql
).
Run Build Process:
Execute the following commands:
Code Block flutter packages pub run build_runner build --delete-conflicting-outputs flutter pub get
Launch the App:
To start the app, run the following command:
Code Block flutter run -d web-server --web-renderer html
...