This is a simple IMDB clone made as a school project, using the moviedb api, Express.js and HTMX.
In this application you can see; All trending movies/tv-shows, top rated movies/tv-shows, add to favorite and rate a movie or tv-show.
Install both node.js and npm before proceeding!
git clone https://github.com/Helland369/MovieDB.git
cd to project:
cd Moviedb
install node dependencies:
npm install
In the Moviedb directory make a .env file
touch .env
Create a .env variables
TMDB=YOUR_THE_MOVIE_DATABASE_BEARER_TOKEN
npm run dev
Posts the movie rating to tmdb.
Posts the tv-show rating to tmdb.
Gets all the trending tv-shows and movies from tmdb.
g_tv_show
Gets the trending g tv-shows from tmdb.
g_movie
Gets the trending g movies from tmdb.
Gets the detailed information for tv-shows and movies. Information like description, release date, etc.
Gets movies and tv-shows that matches what you search for.
Gets the filtered search results.
Contains the filter form for; /tmdb/filter_search.
Gets the genres for the filter search
Gets the authentication token for login.
Gets the callback from tmdb for authentication.
Posts the movie or tv-show that you want to add to favorites.
Gets the favorited movies from the logged in account.
Gets the favorited tv-shows from the logged in account
Gets the top rated movies from tmdb.