This is a project exercise did during my web development course. The data source used was from TMDB API.
const API_BASE = "https://api.themoviedb.org/3";
To get a local copy up and running follow these simple steps.
Make sure you have npm and Node.js installed on your machine.
- Clone the repo
git clone https://github.com/born3am/netflix-clone.git
- Install NPM packages
npm install
- Run the development server
npm run dev
- Browser will open automatically on http://localhost:5173.
- Fresh movies and series data will be fetched from TMDB API and displayed on the screen.
To deploy the project to GitHub Pages, follow these steps:
- Ensure you have built the project by running:
npm run build
- Deploy the built project to GitHub Pages by running:
npm run deploy
To run both Prettier and ESLint fixes together, run:
npm run fix