The application is being deployed using vercel and can be accessed here.
The omdb API is being used to fetch movies' information. OMDB only allow authenticated requests to their API. Because of that a key must be sent on the query params of the request.
Create a .env
file in the root folder and add the following env variables:
REACT_APP_API_KEY
, it will inject the key on the calls to omdb API.REACT_APP_API_URL
, the URL to the omdb API.
An example of the needed .env
file is the .env.test
.
In the project directory, you can run:
yarn build
: build the prod version of applicationyarn start
: run the application in dev modeyarn test
: run unit, integration and regression testsyarn test:unit
: run unit testsyarn test:unit:watch
: run unit tests in watch modeyarn test:integration
: run integration tests with cypressyarn test:regression
: run visual regression tests with cypress
- Add a loading state to movie list and details page
- Add throttling to
search
andload more
buttons - The application should check if the movie has a poster before rendering it
- Only deploy application if the pipeline pass