├── public ├── _redirects ├── robots.txt ├── favicon.ico ├── logo192.png ├── logo512.png ├── manifest.json └── index.html ├── src ├── images │ ├── aboutimg.png │ ├── homebg.jpg │ ├── navlogo.png │ ├── tvshow1.jpeg │ ├── tvshow2.jpg │ ├── interface1.PNG │ ├── interface2.PNG │ ├── interface3.PNG │ └── interface4.PNG ├── redux │ ├── actions │ │ ├── filterAction.js │ │ ├── type.js │ │ └── allactions.js │ ├── reducers │ │ ├── index.js │ │ ├── filterReducer.js │ │ └── showsReducer.js │ └── store.js ├── __test__ │ ├── components │ │ ├── __snapshots__ │ │ │ ├── Filter.test.js.snap │ │ │ ├── Footer.test.js.snap │ │ │ ├── About.test.js.snap │ │ │ ├── Home.test.js.snap │ │ │ └── Navbar.test.js.snap │ │ ├── Loading.test.js │ │ ├── About.test.js │ │ ├── Navbar.test.js │ │ ├── Footer.test.js │ │ ├── Home.test.js │ │ └── Filter.test.js │ ├── App.test.js │ ├── reducers │ │ ├── filterReducer.test.js │ │ └── showsReducer.test.js │ └── __snapshots__ │ │ └── App.test.js.snap ├── components │ ├── Footer.js │ ├── loading.js │ ├── Filter.js │ ├── About.js │ ├── Home.js │ ├── Showitem.js │ └── Navbar.js ├── index.js ├── App.js ├── containers │ ├── Showlist.js │ └── Showinfo.js └── index.css ├── .stylelintrc.json ├── .gitignore ├── .eslintrc.json ├── .github └── workflows │ └── linters.yml ├── package.json └── README.md /public/_redirects: -------------------------------------------------------------------------------- 1 | /* /index.html 200 2 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkacca457/react_capstone_tvshowcatalouge/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkacca457/react_capstone_tvshowcatalouge/HEAD/public/logo192.png -------------------------------------------------------------------------------- /public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkacca457/react_capstone_tvshowcatalouge/HEAD/public/logo512.png -------------------------------------------------------------------------------- /src/images/aboutimg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkacca457/react_capstone_tvshowcatalouge/HEAD/src/images/aboutimg.png -------------------------------------------------------------------------------- /src/images/homebg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkacca457/react_capstone_tvshowcatalouge/HEAD/src/images/homebg.jpg -------------------------------------------------------------------------------- /src/images/navlogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkacca457/react_capstone_tvshowcatalouge/HEAD/src/images/navlogo.png -------------------------------------------------------------------------------- /src/images/tvshow1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkacca457/react_capstone_tvshowcatalouge/HEAD/src/images/tvshow1.jpeg -------------------------------------------------------------------------------- /src/images/tvshow2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkacca457/react_capstone_tvshowcatalouge/HEAD/src/images/tvshow2.jpg -------------------------------------------------------------------------------- /src/images/interface1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkacca457/react_capstone_tvshowcatalouge/HEAD/src/images/interface1.PNG -------------------------------------------------------------------------------- /src/images/interface2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkacca457/react_capstone_tvshowcatalouge/HEAD/src/images/interface2.PNG -------------------------------------------------------------------------------- /src/images/interface3.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkacca457/react_capstone_tvshowcatalouge/HEAD/src/images/interface3.PNG -------------------------------------------------------------------------------- /src/images/interface4.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ajkacca457/react_capstone_tvshowcatalouge/HEAD/src/images/interface4.PNG -------------------------------------------------------------------------------- /src/redux/actions/filterAction.js: -------------------------------------------------------------------------------- 1 | export const CHANGE_FILTER = 'CHANGE_FILTER'; 2 | 3 | export const changeFilter = filter => ({ 4 | type: CHANGE_FILTER, 5 | payload: filter, 6 | }); 7 | -------------------------------------------------------------------------------- /src/__test__/components/__snapshots__/Filter.test.js.snap: -------------------------------------------------------------------------------- 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP 2 | 3 | exports[`Filter component renders the form-control in the page 1`] = `ShallowWrapper {}`; 4 | -------------------------------------------------------------------------------- /src/components/Footer.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | const Footer = () => ( 4 |
© & Project made by Avijit, Microverse
6 |8 | © & Project made by Avijit, Microverse 9 |
10 |11 | Join the millions of subscribers around the world who enjoy unlimited award-winning 12 | TV shows, movies, documentaries, and more without a single advertisement. 13 | As a TVWORLD member, you are charged once a month on the date you signed up. 14 | There are no contracts, no cancellation fees, and no commitments. 15 | You have the freedom to change your plan or cancel online at any time if 16 | you decide TVWORLD isn’t for you. 17 |
18 |
18 | 21 | Join the millions of subscribers around the world who enjoy unlimited award-winning TV shows, movies, documentaries, and more without a single advertisement. As a TVWORLD member, you are charged once a month on the date you signed up. There are no contracts, no cancellation fees, and no commitments. You have the freedom to change your plan or cancel online at any time if you decide TVWORLD isn’t for you. 22 |
23 |
40 |
45 |
126 |
131 | 138 | © & Project made by Avijit, Microverse 139 |
140 |44 | Language : 45 | 46 | {' '} 47 | {' '} 48 | {show.language} 49 | 50 |
51 |52 | Website: 53 | 54 | {' '} 55 | {' '} 56 | {show.officialSite} 57 | 58 |
59 |60 | {show.summary} 61 |
62 |64 | Genres: 65 | {show.genres && show.genres.map(genre => ( 66 | 67 | 68 | {' '} 69 | {genre} 70 | 71 | 72 | 73 | ))} 74 |
75 |76 | {' '} 77 | Type: 78 | 79 | {' '} 80 | {show.type} 81 | 82 |
83 |84 | Imdb rating: 85 | 86 | {' '} 87 | {' '} 88 | {show.rating && show.rating.average} 89 | 90 |
91 |92 | Runtime: 93 | 94 | {' '} 95 | {show.runtime} 96 | {' '} 97 | min 98 | 99 |
100 |101 | Status: 102 | 103 | {' '} 104 | {' '} 105 | {show.status} 106 | 107 |
108 |109 | Schedule: 110 | 111 | {' '} 112 | {show.schedule && show.schedule.time} 113 | , 114 | {show.schedule && show.schedule.days[0]} 115 | 116 |
117 |