This is a Quiz Application built with React using the Trivia-API by API Ninja. The application allows users to test their knowledge by answering questions from various categories. Users must solve each question before accessing the next one. The application utilizes React, CSS, react-icons, Lazy-react-components, and Redux-toolkit RTK query to access the API data.
- Multiple categories: The application offers a total of 14 categories of quizzes, allowing users to choose their preferred topic.
- Interactive UI: The user interface is designed to be intuitive and engaging, providing an enjoyable experience for users.
- Question progression: Users can only access the next question after solving the current one, enhancing the learning experience.
- API integration: The Trivia-API by API Ninja is utilized to fetch question data and provide a wide range of quiz options.
- Lazy-loading: The application utilizes react-lazy-load-image-component to optimize performance and load components only when necessary.
- State management: Redux-toolkit RTK query is used for efficient state management, ensuring smooth data flow throughout the application.
-
Clone the repository to your local machine: git clone https://github.com/PrtHub/Quiz-app.git
-
Install the dependencies using npm or yarn: npm install or yarn install
-
Start the development server: npm start or yarn start
Open your browser and navigate to http://localhost:5173 or http://localhost:3000 to access the Quiz Application.