Skip to content

fsek/App2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

808 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

F-App 2: Electric Boogaloo

Flutter App for interacting with the API of fsektionen.se.

Setup

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.

  1. Use our handy installation guide here. Installation will include Dart.
  2. You might need to include flutter/bin in your PATH environment variable.
  3. Clone the repo: git clone https://github.com/fsek/App2.git
  4. In the backend, search for and uncomment this line: openapi_schema["servers"] = [{"url": "http://10.0.2.2:8000"}]
  5. Start the backend while running on the most up to date app backend branch (which can be found here at the time of writing).
  6. You might need to install some further things, in particular openapi-generator
  7. 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.sh should be ran as default since it will update the openapi spec to match the latest backend (wherever you point it to).
    • bash build.sh should be ran if you don't want to rebuild the openapi spec, or be tried if the script above doesn't work.
  8. Run flutter run or run the app via the VSCode standard runner. (If it tells you errors exist, try selecting "run anyway")
  9. If everything works, you can recomment the line again!

About

App 2 Electric bugaloo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors