This application is based off of Stephen Grider's React Tutorial. This app allows the user to search for videos. The user will receive five videos from YouTube's API for each query they enter.
I found the tutorial very informative, but as my understanding for development began to grow, I decided to challenge myself further and make it my own.
- Generated an access token through the Google Developer Console to make authenticated requests to a third-party API
- Migrated the initial tutorial code from class-based components to hooks
- focusing on
useState
anduseEffect
- focusing on
- Refactored the initial tutorial code from semantic ui classes to custom
CSS
rules - Used
axios
in combination with my access token to fetch video results based on a query
- Clone this repository.
- Install dependencies with
yarn install
- Rename the
.env.example
file to.env
- Enter a YouTube API Key into
.env
- Start app with
yarn start