This repository contains the starting code for a lab-based exam for React app development. You are required to take the following steps in preparation for this exam:
- Clone this repository.
- Open the project into VS Code.
- Create a .env file in the base folder. Add your TMDB API key (the same as you used in the React labs)
VITE_TMDB_KEY=...YOUR TMDB KEY....- Create a new private repository in your GitHub account called 'reactExam'.
- In VS Code terminal, type the following commands:
git remote remove origin
git remote add origin ...URL of your new repository...
git push origin main- Run the following commands:
npm install
npm run devNow check that the Movie App runs correctly and is accessible from a browser on your machine.
Please ensure you have completed these steps before the lab-based exam and that you can push changes to your remote repository on GitHub.