Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/prthub/quiz-app

This is a quiz platform build in React with an API
https://github.com/prthub/quiz-app

api react responsive-web-design trivia-api ui

Last synced: 2 days ago
JSON representation

This is a quiz platform build in React with an API

Awesome Lists containing this project

README

        

# Quiz Application

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.

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

## Installation
1. Clone the repository to your local machine:
git clone https://github.com/PrtHub/Quiz-app.git
2. Install the dependencies using npm or yarn:
npm install
or
yarn install

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