angel-badillo-hernandez / quizzical

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

P01 - Quizzler w/ FASTAPI

Angel Badillo

Description:

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".

Files

# 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.

Instructions

  • 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

About


Languages

Language:C++ 40.3%Language:CMake 33.3%Language:Dart 18.3%Language:HTML 3.3%Language:C 2.5%Language:Swift 2.1%Language:Kotlin 0.2%Language:Objective-C 0.1%