/movie-searcher

Frontend (Next.js) Movie Searcher app

Primary LanguageTypeScript

Movie Searcher App

A Movie Searcher frontend app has built with Next.js framework. The app allows users to search for movies and list the findings. If the user click to a movie title, the app navigate to the given movie details page. The details page shows a brief overview about the movie. Additionally, the details page also contains 2 links, which let the user to navigate to imdb or wikidata pages and get more informations about the given movie. The app uses TMDB API to fetch informations from TMDB database.

Features

  • Allow user to search for movies
  • Fetch data with TMDBW API usages
  • Next.js framework is used
  • Tailwind CSS is used without any UI library to style the app
  • TanStack query is used to manage API fetches and cache the results
  • Render-as-you-fetch approach is used
  • Responsive design

How to run from local repository

  1. Clone the repository
  2. Run npm install command in your terminal
  3. Create .env file and add enviromental variables: NEXT_PUBLIC_TMDB_API_KEY=
  4. Run npm run dev command in your terminal
  5. Server running at http://localhost:3000/

Useful links and informations

Dependencies

Layout

layout-1 picture
layout-2 picture