With this app, you can view the list of movies that are playing now in theatres. You can also favorite and unfavorite the movies. All your favorite movies can be viewed in a separate tab. You can also view full details of a movie including cast and crew.
The app uses React / Redux for the front-end. The app uses LocalStorage of the browser to persist the user favorites. The app uses Bootstrap for styled components like grids and cards. This app uses The Movie DB API.
To use this app locally, first clone the repository and create .env.local
file.
Go to The Movie DB and create an account to get the API key.
Copy the following details into the file.
REACT_APP_TMDB_API_KEY=
REACT_APP_TMDB_MOVIE_API_URL=https://api.themoviedb.org/3/movie
REACT_APP_TMDB_IMAGES_API_URL=https://image.tmdb.org/t/p/original
Then run the follwing commands. yarn install
and yarn start
.
If everything goes well, you should able to access the app on your browser.