yarn install
ornpm install
The app doesn't make requests to the TMDB api directly, but to the local api server running on https://localhost:4000 which forwards requests to the TMDB api server and it uses the api key set as an environment variable to do it. It's not a good idea to expose sensitive information in the version control so you'll have to create .env file in the root directory and put your TMDB_API_KEY=Your_Api_Key in there.
yarn dev
ornpm run dev
- Open http://localhost:5173
yarn lint
ornpm run lint
yarn test
ornpm test
yarn coverage
ornpm run coverage
yarn build
ornpm run build
yarn preview
ornpm run preview
- Open http://localhost:4173
yarn build:docs
ornpm run build:docs
- Use your browser to open index.html in the docs folder