Skip to content

A movie app built using React for browsing and discovering movies from a movie database API.

License

Notifications You must be signed in to change notification settings

siddharth9300/react-movie-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Movie App

A movie app built using React for browsing and discovering movies from a movie database API.

Features

  • Search for movies by title
  • Browse movies by different genres
  • View movie details including synopsis, release date, ratings, and cast
  • Mark movies as favorites
  • Responsive design for desktop and mobile devices

Technologies Used

  • React: A popular JavaScript library for building user interfaces
  • Axios: A promise-based HTTP client for making API requests
  • react-router-dom: A routing library for handling navigation in a React app
  • Tailwind CSS: For styling the app

Installation

  1. Clone the repository to your local machine using git clone.

git clone https://github.com/siddharth9300/react-movie-app.git

  1. Navigate to the project directory.

cd react-movie-app

  1. Install dependencies using npm or yarn.

npm install or yarn install

  1. Obtain an API key from a movie database API (e.g., The Movie Database API, IMDb API, etc.).

  2. Create a .env file in the root of the project and add your API key.

REACT_APP_API_KEY=your_api_key_here

  1. Start the development server.

npm start

or yarn start

  1. Open your web browser and go to http://localhost:3000 to access the app locally.

Usage

  • Search for movies by title using the search bar at the top of the page.
  • Browse movies by different genres using the genre buttons.
  • View movie details by clicking on a movie card, which will display additional information about the movie including synopsis, release date, ratings, and cast.
  • Mark movies as favorites by clicking the "Add to Favorites" button on a movie details page.
  • View your favorite movies on the Favorites page, which can be accessed from the navigation bar.
  • Remove movies from favorites by clicking the "Remove from Favorites" button on the Favorites page.

Contributing

Contributions are welcome! If you would like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your changes to your forked repository.
  5. Submit a pull request with a detailed description of your changes.

Authors

License

MIT License

About

A movie app built using React for browsing and discovering movies from a movie database API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published