Demo:
Required credentials for YouTube search:
- YouTube API Key. Get here YouTube Data API
- Rename config.example.js to config.js and insert API Key into file.
Install this sprint's dependencies:
- Run
npm install
To run the server:
- Run
npm start
Todos:
- Create a reducer function
- Create a store from your reducer function
- Use the Provider component to connect your store to App
- Set exampleVideoData to be default state in reducer
- Refactor App component and connect to store with mapStateToProps
- Refactor Search component and connect to store
- Refactor VideoListEntry component and connect to store
- Create action creator to add a single video to store
- Create action creator to add videos from YouTube search to store
- Add event handlers to dispatch action creators