MASD-QUIZ is a modern, AI-powered quiz and exam generation web application built using Next.js. The app provides an interactive user interface for students and educators to access dynamically generated quizzes and receive instant feedback.
- Dynamic Quiz Generation: Uses AI-powered tools to fetch and present personalized quizzes.
- Real-Time Feedback: Provides detailed feedback after quiz submission.
- Interactive UI: Built with Chakra UI and Tailwind CSS for a modern and responsive design.
- Scalable and Modular Architecture: Easily extensible for additional features.
- Frontend Framework: Next.js (v14.2.18)
- UI Libraries:
- React Ecosystem:
- React Icons
- Framer Motion (for animations)
- Code Formatting: Prettier with Tailwind CSS plugin
- TypeScript: Ensures type safety across the application.
-
Clone the repository:
git clone https://github.com/<your-username>/masd-quiz.git cd masd-quiz
-
Install dependencies:
npm install
-
Run the development server:
npm run dev
-
Open your browser and navigate to
http://localhost:3000.
Here's an overview of the project structure:
masd-quiz/
├── components/ # Reusable UI components
├── pages/ # Application pages
│ ├── api/ # API routes for data fetching
│ └── index.tsx # Home page
├── public/ # Static assets (images, icons, etc.)
├── styles/ # Global and module-specific styles
├── utils/ # Helper functions and utilities
├── package.json # Project dependencies and scripts
└── tsconfig.json # TypeScript configuration
The following scripts are available in the project:
npm run dev: Starts the development server.npm run build: Builds the project for production.npm start: Runs the built project in production mode.npm run lint: Lints the code for style and formatting issues.
Key dependencies used in the project:
- @chakra-ui/react: For UI components
- Tailwind CSS: For responsive design
- React Icons: Icon library
- Framer Motion: Smooth animations
- TypeScript: Ensures type safety
- Next.js: The framework for building the application
Refer to the package.json file for the full list of dependencies.
- Fetch Questions: Data is retrieved from the backend RAG model.
- Interactive QCM: Users interact with the quiz through the web interface.
- Answer Verification: Submitted answers are sent to the backend for evaluation.
- Instant Feedback: Grading results and explanations are displayed to the user.
We welcome contributions! Please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name. - Commit your changes:
git commit -m 'Add some feature'. - Push to the branch:
git push origin feature/your-feature-name. - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Special thanks to the MASD-QUIZ team for their hard work and dedication:
- Nordin & Youssef: Knowledge Base Construction, Document Retrieval , Preprocessing and Question Generation .
- Abdelfattah Bouhlali: Answer Verification & User Interface Development