Movies is
-
Developed with
Vue3composition api andVite 4 -
Use
locale storagefor authentication and register favorite movies -
Use
Tailwind cssfor UI -
It is a web application that allows users to search and save their favorite movies.
-
The application use the Open Movie API Database (OMDb) (http://www.omdbapi.com/)
-
To retrieve data from film and display them to the user
After clone the project you must do:
npm installnpm run devnpm run buildThe project run on
http://127.0.0.1:5173/For the api to work you must create an account on OMDb API.
You will receive an apiKey in your mail
Add this key in main.ts
app.provide('api_url', 'http://www.omdbapi.com/?apikey=[YOUR KEY HERE]')Click on the login button and fill in the username field for the connection
You can watch movies and even search unauthenticated, but you can only create a favorite list if you are authenticated
Click on the logout button for logout
Click on the Sun/Moon for switch Light/Dark mode
For add a movie to favorite list
- Click on movie from list movies
- Click on button favorite
For show favorite list movies click on favorite button in navbar
Type your search by title on the search input to find your favorite movies.
You can navigate between results using pagination.