Skip to content

About

Scene Struggle allows users to play mini-games based on their favorite YouTube channels. Allowed me to explore the YouTube API and integrate it into a web application.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

Scene Struggle

I wanted to create a project to showcase my skills in working with APIs and building multi-page applications. Scene Struggle allows users to play mini-games based on their favorite YouTube channels. This project allowed me to explore and demonstrate my proficiency in using the YouTube API and integrating it into a web application.

Technologies Used

  • React: A popular JavaScript library for building user interfaces. It provides a flexible and efficient way to create dynamic web applications.
  • react-router-dom: The react-router-dom library is utilized to handle routing and navigation within the application. It enables seamless navigation between different pages and facilitates passing URL parameters for channel selection.
  • YouTube API: The YouTube API is employed to fetch video and channel data from YouTube. By leveraging this API, the application can access information about channels and videos, allowing users to engage with their preferred content creators.

Lessons Learned

  • Working with APIs: Integrating the YouTube API allowed me to understand the process of fetching data from external sources and utilizing it within a web application.
  • Multi-page application development: By using react-router-dom, I learned how to create a multi-page experience within a React application, enabling users to navigate between different sections and games.
  • React component architecture: I honed my skills in structuring and organizing React components, ensuring reusability and maintainability throughout the project.

How To Play

Start by entering the URL of one of their videos:

App Screenshot

Check if the found channel is correct and proceed to games about that channel:

App Screenshot

Choose the game you want to play

App Screenshot

Play

App Screenshot

Installation

1 - Clone the repository:

git clone https://github.com/emredevsalot/scene-struggle.git

2 - Navigate to the project directory:

cd scene-struggle

3 - Install dependencies:

npm install

4 - Get environment variable:

Create a .env file in the project root directory and add your API key:

VITE_REACT_APP_RAPID_API_KEY = <your-api-key>

You can get the API key from: https://rapidapi.com/ytdlfree/api/youtube-v31

5 - Start the development server:

npm run dev

About

Scene Struggle allows users to play mini-games based on their favorite YouTube channels. Allowed me to explore the YouTube API and integrate it into a web application.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Contributors

Languages