This website shows a library of movies
To start this app you must:
- Install the files to your device
- Install express, core, dotenv, axios, and pg packages by run the code npm install express cors dotenv axios pg
- Start npm by run the code npm start
- Open the browser then :
- For home page enter http://localhost:8080/
- For favorit page and http://localhost:8080/favorit
- For trending page enter http://localhost:8080/trending
- For search page enter http://localhost:8080/search
- For popular page enter http://localhost:8080/popular
- For tv page enter http://localhost:8080/tv
- For get movies page enter http://localhost:8080/getMovies
- For requests from database:
- To add movie http://localhost:8080/addMovie
- To get moive by id http://localhost:8080/getMovie/:id
- To update by id http://localhost:8080/updateMovie/:id
- To delte by id http://localhost:8080/deleteMovie/:id
This website offer a lists about movies, for exampl, trending and tv shows, also you can and movies to a favorate.
