This is a TypeScript project aimed at practicing TypeScript, implementing search functionality, and fetching data from an API. Please note that this project is for educational purposes and not intended for production use.
Important: The API key used in this project is exposed in the client-side code, which is not secure. It's essential to keep sensitive information like API keys confidential and avoid exposing them publicly in client-side code, especially in production environments.
The project utilizes a free API (TMDb) with no rate limiting for fetching movie data. The API key is publicly visible in the code for demonstration purposes. I am aware that this is not a recommended practice in a production environment. When I am working on real projects, I make sure to follow best practices for API key management and security.
- Search movies and TV shows
- Display search results
- Fetch detailed information about movies and TV shows
-
Clone the repository:
git clone https://github.com/CarolinaFledgling/ts-movie-search.git
-
Install dependencies:
npm install
To Search: https://developer.themoviedb.org/reference/search-movie