This project was bootstrapped with Create React App.
Code Editor: Visual Studio Code
from Microsoft
Framework used : React
.
Styling: TailwindCSS
(i am more familiar with TailwindCSS)
Icons: Hero Icons
(Used SVG icons from Hero Icons)
- Working internet Connection.
- You will need The Movie Database api key.
you can get key from.
Open https://developers.themoviedb.org/3/gettingstarted/introduction to get your api key
- Clone the project and install all the required dependencies using
npm install
- Create an .env file and Add an environment variable REACT_APP_API_KEY=
your-api-key
. - Run the project using
npm start
.
List of all the scripts available:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
I used tailwind css to design the cards because i have been working with tailwind css for some time now. Why tailwind css- easy to use and create components from scratch, easy customization
I could add infinite scrolling and lazy loading for more performance
i could have used redux to store page Number used redux rtkQuery to fetch data.
i could have shown more details like Images and videos, and reviews and more stuff
Let users to create a wishlist to store their fav movies in one place
Let users create account and use database to store their fav shows and movies
Adding tv shows to the app/test would also be beneficial.
Adding an option to search for either a tv show or a movie show or from both of them