mobile app for wger workout manager
wger is a free, open source flutter application that manages and tracks/logs your exercises and personal workouts, weight and diet plans. this is the mobile app written with flutter, it talks via rest with the main server.
installation
development
1
install the wger server, the easiest way is starting the development docker-compose:
https://github.com/wger-project/wger
alternatively, you can use one of our test servers, just ask us for access.
2
install flutter, all its dependencies and create a new virtual device:
https://flutter.dev/docs/get-started/install.
the app currently uses flutter 2.2
3
create a new file wger.properties
in android/fastlane/envfiles
:
wger_api_key=123456
to just run/develop the app it only needs to have any value for wger_api_key, but
you need a correct value if you want to register via the app. for this you need
to allow (a probably dedicated) user on the wger server to register users in its
behalf. for this, generate an api key by visiting http://localhost:8000/de/user/api-key
on your local instance and then run python3 manage.py add-user-rest theusername
you can later list all the registered users with: python3 manage.py list-users-api
4
generate translation files with flutter gen-l10n
5
start the application with flutter run --no-sound-null-safety
or use your ide
(please note that depending on how you run your emulator you will need to change the
ip address of the server)
you can run the tests with flutter test --no-sound-null-safety
Comments are closed.