Name: Mark Campbell
This repository contains the implementation of a React App and its associated Cypress tests and GitLab CI pipeline.
- Authentication
- Review creation and viewing.
- Trending and popular actors pages.
- Actor's details page featuring movies they have a role in.
- Now playing, top rated, trending, upcoming movies pages.
- Cast list, recommended and similar movies lists viewable from a movies detail page
- search actors filteering option.
- cypress/e2e/login.cy.js
- cypress/e2e/review.cy.js
- cypress/e2e/login.cy.js
- cypress/e2e/review.cy.js
- cypress/e2e/cast-list-from-movie-details.cy.js
- cypress/e2e/movie-lists.cy.js
- src/index.js
I made an attempt at utilising automatic deployment but my tests failed whenever I tried. See commit 6d50742a
In order to run the web app you must first create a .env file in the project base folder. The contents should include the following.
REACT_APP_TMDB_KEY=<YOUR_TMDB_API_KEY>
FAST_REFRESH=false
You must first create an account on the web app and store the information.
You must then create a file called cypress.env.json in the project base folder and fill it with the following
{
"TMDB_KEY": "__YOUR_TMDB_API_KEY__",
"NAME": "__YOUR_USERNAME__",
"EMAIL": "__YOUR_EMAIL__",
"PASSWORD": "__YOUR_PASSWORD__"
}