Menu Close

Trivia-Itunes-Search

Trivia and iTunes Search App

This project is a web application that allows users to search for trivia questions and explore albums on iTunes. It is built using React, and leverages the Open Trivia Database API and the iTunes Search API.

Features

Trivia Question Search:

Users can search for trivia questions by selecting a category.
The results are displayed in a table with information about the question, category, and difficulty.

iTunes Album Search:

Users can search for albums by entering an artist’s name.
The results are displayed in a table with information about the album, artist, and release date.

Getting Started

To get started with this project, follow these steps:

  1. Clone the repository.
  2. In the project directory, run npm install to install the required dependencies.
  3. Run ‘npm start’ to start the development server. The app will open in your browser at http://localhost:3000.

Available Scripts

In the project directory, you can run:

‘npm start’

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.

‘npm test’

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

‘npm run build’

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.

Deployment

To deploy this app, you can use hosting platforms such as Netlify, Vercel, or GitHub Pages. For detailed instructions, refer to the Create React App deployment documentation.

Built With

React
Bootstrap
Open Trivia Database API
iTunes Search API

Contributing

To contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch with a descriptive name.
  3. Make your changes and commit them with a clear and concise commit message.
  4. Push your changes to the forked repository.
  5. Create a pull request to merge your changes into the main repository.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

Thanks to Open Trivia Database for providing trivia question data.

Thanks to iTunes Search API for providing album information.

Thanks to Create React App for simplifying the React app setup process.

View Source Code
Posted in Development