Deployed on netlify: https://hungry-murdock-35d2ff.netlify.app/
- Clone the next-movies repo.
- Run
npm install
to install the dependencies. - Create
.env.local
file and paste the contents of.env.example
file. - Generate API key by following the instructions here: https://www.themoviedb.org/documentation/api
- Add generated API key from the step above in the
.env.local
file asAPI_KEY
. - Run
npm run dev
oryarn dev
to run the development server.
Open http://localhost:3000 within your browser.
paths
/ - homepage displays current trending movies
/movies/[genreID] - page that displays movies based on the given genre
/movie/[movieID] - page that displays details about movie, including popular cast
/tv - page that displays current trending TV Shows
/tvshows/[genreID] - page that displays TV Shows based on the given genre
/tv/[tvShowID] - page that displays details about TV Show, including popular cast and seasons.
/actors - page that displays current trending actors
/actor/[actorID] - page that displays information about actor and what they are known for
More details - TBA