Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Workflow Status (branch) GitHub forks GitHub stars GitHub watchers GitHub contributors GitHub last commit GitHub top language

Flutter Code Quizzy Application

mockup


Configuration for this application

Besides the Flutter development setup on your computer, this project needs a quizapi.io API key. The key is not stored in the repo — it is passed in at build time and read via String.fromEnvironment:

flutter run   --dart-define=QUIZ_API_KEY=qa_sk_your_api_key
flutter build --dart-define=QUIZ_API_KEY=qa_sk_your_api_key

In VS Code, add it to .vscode/launch.json instead so you don't have to pass it every time:

{
  "configurations": [
    {
      "name": "code_quizzy",
      "request": "launch",
      "type": "dart",
      "toolArgs": ["--dart-define=QUIZ_API_KEY=qa_sk_your_api_key"]
    }
  ]
}

Without the key the app shows a "Missing API Key" screen rather than failing silently.

The app talks to the v1 API, which authenticates with an Authorization: Bearer <key> header and returns its payloads inside a {success, data, meta} envelope. Topics are loaded at runtime from GET /api/v1/categories, so the topic list never goes stale.

You've done entire steps correctly and I make sure that this project will have paramount effect on your progress learning Flutter

About

Coding quizzes will make your learning very enjoyable. You won't just learn here, you'll play games and learn. Our quizzes are fun. They're mind-blowing your knowledge instantly.

Topics

Resources

Stars

38 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages