This is a simple quiz app that asks the user a series of true/false questions. A "QuizBrain" object is used to retrieve data from the FASTAPI created in the Python module, "api.py".
# | File | Description |
---|---|---|
1 | api.py | The FASTAPI controls the data for the quiz app. |
2 | questions.json | JSON file containing data for the quiz app. |
3 | Quizzler App | The Flutter App, Quizzler, a quiz app. |
-
Go to the Github repo to download the Flutter App, Quizzler.
-
Run api.py on your local machine. Ensure questions.json is in the same folder when you run it.
-
After you have the API running, open the Flutter app in Android Studio and get all the dependencies, then run the
Flutter app, and the rest is straightforward, simply complete the quiz. -
Side note: Do not attempt to make requests to the API via Postman or the browser while using the Quizzler App,
as certain requests (e.g, reset, next) will affect the progression of the quiz. -
Example Command:
- For running the API:
- cd (folder containing both api.py and questions.json)
- python api.py
- For running the API: