A TodoMVC with Flutter and PostgREST as backend server with Postgres.
- Flutter >= 3.10.x
Configuration is build.yaml
flutter pub run build_runner build --delete-conflicting-outputs
The app defaults to Flutter Web.
flutter run -d chrome
The test logins can be found in the development seed file
For Andorid, iOS testing the _isApp flag needs to flipped in lib/api.dart.
To test the mobile app, postgrest has to be configured to run on a local network instead of the default localhost:3000.
Alternatively, ngrok can be used to proxy traffic from mobile app to postgrest running locally on localhost:3000.
After having started postgrest via server/pgrest.sh start ngrok:
ngrok http 3000
Paste ngrok address into lib/api.dart's variable _baseUrlApp.