Clone da Netflix em Vue.js

Installing the dependencies

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

Running a preview of the files generated by the build command

npm start

Compile and Minify for Production with Docker

docker compose up

The application will be exposed at http://localhost:3003 on your computer.

Run Unit Tests with Vitest (NOT IMPLEMENTED)

npm run test:unit

Run End-to-End Tests with Cypress (NOT IMPLEMENTED)

npm run test:e2e:dev

This runs the end-to-end tests against the Vite development server. It is much faster than the production build.

But it's still recommended to test the production build with test:e2e before deploying (e.g. in CI environments):

npm run build
npm run test:e2e

Lint with ESLint

npm run lint