Giter VIP home page Giter VIP logo

emredevsalot / scene-struggle Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 164 KB

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.

Home Page: https://emredevsalot.github.io/scene-struggle/

HTML 1.42% JavaScript 3.84% TypeScript 92.32% CSS 2.41%
rapidapi react react-router-dom youtube-api

scene-struggle's Introduction

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

scene-struggle's People

Contributors

emredevsalot avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.