Giter Club home page Giter Club logo

react-movie-app's Introduction

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

react-movie-app's People

Contributors

siddharth9300 avatar

Watchers

 avatar

react-movie-app's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.