This project was bootstrapped with Create React App.
In order to work wth this app, you need to have Node installed on your local machine https://nodejs.org/en
- Clone this repository to your local machine
- Open the project folder (e.g.
cd trivia-quiz/
) - Run
npm install
- Run
npm start
- Follow the generated link
In the project directory, you can run:
Downloads and installs the necessary dependencies and node packages.
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
This project uses Open Trivia API
for generating the questions. https://opentdb.com/api_config.php
User can choose between different question types, difficulty level, and number of questions.
There is timer limited to 5 minutes. If timer expires quiz ends.
All results are stored in local storage.
You can check deployed version following this link:
https://open-trivia-quiz-game.netlify.app/