Skip to content

With Next Films, you can search for movies or view a list of movies that are currently in theatres or based on the given genre and check their details.

License

Notifications You must be signed in to change notification settings

GuilhermeCCunha/next-films

Repository files navigation

Next Films

🌏 English | Português

Vercel Deploy GitHub repo size GitHub last commit

This is a Next.js project bootstrapped with create-next-app.

This project is using the App Router.

With Next Films, you can search for movies or view a list of movies that are currently in theatres or based on the given genre and check their details.

Table of contents

Features

  • Movie search bar
  • Infinite scrolling
  • Collapsible sidebar
  • Movie details page with movie information, including a link to a video1 if it exists
  • Favorites List using localStorage
  • Global state using Context API

Tech Stack

  • Next.js
  • React
  • TypeScript
  • Sass
  • react-intersection-observer
  • Back-end: The Movie Database (TMDB) API

Demonstration

Scrolling

next_films_scrolling_demonstration

Search

next_films_search_demonstration

Medium Screens

Collapsible sidebar

next_films_sidebar_demonstration

Favoriting

next_films_favoriting_demonstration

Small Screens

Clickable Links

The movie genres that appear on the details page are clickable links

next_films_mobile_demonstration

Screenshots

Movie details page

Default

next_films_details_default_screenshot

Alternative

next_films_details_alternative_screenshot

Getting Started

Clone or download zip file:

git clone https://github.com/GuilhermeCCunha/next-films.git

You will need a TMDB account and an API key. In the project root folder, rename the file .env.local.example to .env.local:

Inside this file, you will see this line:

API_KEY=********************************

Replace the asterisks with your personal API key.

Install dependencies:

npm install
# or
yarn install
# or
pnpm install
# or
bun install

Run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

Routes

/ - homepage displays a list of movies that are currently in theatres

/movies/genre/[genreID] - page that displays movies based on the given genre

/movies/search?name=[movieName] - page that displays movies based on searches for their original, translated and alternative titles

/movie/[movieID] - page that displays details about the movie

/favorites - page that displays a list of favorite movies

Deployment Summary

"next_films_routes_vercel
deployment summary - Vercel

  • ƒ - server-rendered on demand
  • ISR - Incremental Static Regeneration

Additional Information

Author

Show your support

Please ⭐️ this repository if you liked it!

License

Copyright © 2025 Guilherme Cunha.
This project is MIT licensed.

Footnotes

  1. The API doesn't provide any links to actual movies, only trailers/behind the scenes/featurettes, etc...

About

With Next Films, you can search for movies or view a list of movies that are currently in theatres or based on the given genre and check their details.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published