This project is a study project from SQLabs Academy, designed as a trivia game with a mobile-first approach. It has been implemented using React, Axios, and the OpenDB API. The game challenges players with a variety of trivia questions, testing their knowledge in a fun and interactive way.
Live Demo: trivia-game-b41ce.web.app
- Mobile-First Design: Ensures a great user experience on mobile devices.
- React Framework: Utilizes the latest React features for efficient UI development.
- Axios for API Calls: Implements Axios for fetching data from the OpenDB API.
- Dynamic Questioning: Offers a variety of trivia questions from different categories and difficulties.
To set up the project locally, follow these steps:
- Clone the repository:
git clone https://github.com/barel-mishal/trivia-game.git
- Install dependencies:
npm install
- Run the development server:
npm run dev
git clone https://github.com/barel-mishal/trivia-game.git
After starting the development server, the trivia game will be available on your local host. Navigate to the game and start playing by answering trivia questions. Your score will be calculated based on your correct answers.
- React
- Axios
- Firebase
- Tailwind CSS
- Vite
- TypeScript
Contributions, issues, and feature requests are welcome! Feel free to check the issues page.
This project is MIT licensed.