Mobile app for wger Workout Manager

Mobile app for wger Workout Manager with flutter

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.

Mobile app for wger Workout Manager with flutter

Mobile app for wger Workout Manager with flutter

Mobile app for wger Workout Manager with flutter

Installation

Mobile app for wger Workout Manager with flutter

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

GitHub

https://github.com/wger-project/flutter

Entradas similares

Deja una respuesta