Skip to content

Meetpraja/quiz-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📚 Quiz App 🎯

A Flutter-based Quiz App that fetches questions from an API, presents multiple-choice questions, and displays a detailed summary upon completion.

🚀 Features

  • ✅ Fetch quiz data dynamically from an API
  • ✅ Multiple-choice questions with a user-friendly UI
  • ✅ Score calculation with a result summary
  • ✅ Responsive design for all screen sizes
  • ✅ Clean, maintainable, and well-documented code

🛠️ Setup Instructions

  1. Clone this repository.
    git clone https://github.com/yourusername/quiz-app.git
  2. Install Dependencies
    flutter pub get
  3. Set up API : add it in lib/services/api_service.dart
  4. Run the App
    flutter run

📸 Screenshots


🎥 Video Demo

quiz-vid.mp4

📂 Project Structure

📦 quiz-app
┣ 📂 lib
┃ ┣ 📂 api_services
┃ ┃ ┣ 📜 api_services.dart
┃ ┣ 📂 components
┃ ┃ ┣ 📜 answer_button.dart
┃ ┃ ┣ 📜 identifier.dart
┃ ┃ ┣ 📜 start_button.dart
┃ ┃ ┣ 📜 summary.dart
┃ ┃ ┣ 📜 summary_item.dart
┃ ┣ 📂 controller   
┃ ┃ ┣ 📜 quiz_controller.dart
┃ ┣ 📂 model
┃ ┃ ┣ 📜 quiz_model.dart
┃ ┣ 📂 views
┃ ┃ ┣ 📜 questions.dart
┃ ┃ ┣ 📜 result_screen.dart
┃ ┃ ┣ 📜 splash_screen.dart
┃ ┃ ┣ 📜 start_screen.dart
┃ ┣ 📜 main.dart
┣ 📜 pubspec.yaml
┣ 📜 README.md

🛠️ Technologies Used

  • Flutter (Dart) for UI
  • Dio Package for API requests
  • GetX for state management
  • env for storing apiUrl

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors