Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Juan Sierra front end task #670

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

juansesierra
Copy link

@juansesierra juansesierra commented Dec 19, 2024

Movie searcher

Live link: https://developers-juan-sierras-projects-2885f3b2.vercel.app/

Description

This is a movie searcher app that allows you to search for movies by title and see the details of each movie. At the moment, it only supports the English language.

Setup

We are using yarn to set up and run this application. In order to get started, you need to setup the environment variables.

Environment variables

Create a .env.local file in the root of the project and add the following variables:

VITE_API_KEY = YOUR_API_KEY
VITE_API_URL =  https://api.themoviedb.org/3/

We are fetching the movies from the Movie Database website. Where you can get your API key.

Install dependencies

yarn install

Run the application

yarn dev

Run the tests

We used Playwright to run the tests. To run the tests, run the following command:

yarn test

In case you want to run the tests in a UI mode, run the following command:

yarn test:ui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant