GithubHelp home page GithubHelp logo

movie-search's Introduction

Movie Search Application

A movie search application built with Next.js, Tailwind CSS, and DaisyUI. This application allows users to search for movies using the OMDb API, displays results with pagination, and provides a clean and modern user interface.

Features

  • Search for movies by title using the OMDb API.
  • Paginate results to display 8 movies per page.
  • Responsive design optimized for both mobile and desktop views.
  • Utilizes Tailwind CSS and DaisyUI for styling and component design.

Technologies Used

  • Next.js: A React framework for server-side rendering and static site generation.
  • Tailwind CSS: A utility-first CSS framework for styling.
  • DaisyUI: A component library for Tailwind CSS that provides pre-styled components.
  • Axios: A promise-based HTTP client for making API requests.

Installation

  1. Clone the repository:

    git clone https://github.com/Azizkhasyi11/movie-search.git
  2. Navigate to the project directory:

    cd movie-search-app
  3. Install dependencies:

    npm install
  4. Set up environment variables:

    Create a .env.local file in the root of the project and add your OMDb API key:

    NEXT_PUBLIC_API_KEY=your_omdb_api_key
  5. Run the development server:

    npm run dev

    The application will be available at http://localhost:3000.

Usage

  1. Search for movies:

    • Enter a movie title in the search input field and click the "Search" button.
    • The application will display search results with movie posters, titles, types, and release years.
  2. Navigate through pages:

    • Use the pagination controls to navigate between pages of results.

Contributing

If you want to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/YourFeature).
  3. Make your changes and commit them (git commit -am 'Add new feature').
  4. Push to the branch (git push origin feature/YourFeature).
  5. Create a new Pull Request.

movie-search's People

Contributors

azizkhasyi11 avatar

Watchers

 avatar

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.