Flutter App for interacting with the API of fsektionen.se.
This project uses Flutter >3.41.9. This is as of 2026-05-05 (probably) the most updated account of the version number. If you use too low a flutter version it will tell you later in one of these steps and you can simply upgrade flutter then.
- Use our handy installation guide here. Installation will include Dart.
- You might need to include
flutter/binin your PATH environment variable. - Clone the repo:
git clone https://github.com/fsek/App2.git - In the backend, search for and uncomment this line:
openapi_schema["servers"] = [{"url": "http://10.0.2.2:8000"}] - Start the backend while running on the most up to date app backend branch (which can be found here at the time of writing).
- You might need to install some further things, in particular openapi-generator
- Run one of the following scripts, which will take care of most work for you. NOTE: look through the trace to see if anything went wrong (look for errors or connection problems), the scripts will not tell you on their own!
bash build_openapi.shshould be ran as default since it will update the openapi spec to match the latest backend (wherever you point it to).bash build.shshould be ran if you don't want to rebuild the openapi spec, or be tried if the script above doesn't work.
- Run
flutter runor run the app via the VSCode standard runner. (If it tells you errors exist, try selecting "run anyway") - If everything works, you can recomment the line again!