kv-netflix/frontend-react
vndangkhoa 056824cfa8 Refactor: Clean up codebase and improve project structure
- Remove debug files, binaries, and temp outputs from repo
- Update .gitignore to exclude cache, logs, and build artifacts
- Fix CI/CD workflow for Go backend (was referencing Python)
- Add graceful shutdown and config module to backend
- Add SSRF protection with URL validation
- Refactor handlers to reduce code duplication
- Add React ErrorBoundary component
- Add lazy loading for frontend routes
- Setup Vitest for frontend testing
- Update Dockerfile to use Go 1.23
2026-02-18 19:00:22 +07:00
..
public V3.3 Release: Rebranded to kv-netflix and added PWA support 2026-02-16 08:40:36 +07:00
src Refactor: Clean up codebase and improve project structure 2026-02-18 19:00:22 +07:00
.gitignore Refactor: Full migration to Go backend and React TV-style frontend 2026-02-01 18:40:56 +07:00
eslint.config.js Refactor: Full migration to Go backend and React TV-style frontend 2026-02-01 18:40:56 +07:00
index.html Deploy v3.7: Fix duplicate episodes & update Android TV app 2026-02-17 14:10:02 +07:00
lint_full.txt Deploy v3.7: Fix duplicate episodes & update Android TV app 2026-02-17 14:10:02 +07:00
lint_output.txt Deploy v3.7: Fix duplicate episodes & update Android TV app 2026-02-17 14:10:02 +07:00
package-lock.json Refactor: Clean up codebase and improve project structure 2026-02-18 19:00:22 +07:00
package.json Refactor: Clean up codebase and improve project structure 2026-02-18 19:00:22 +07:00
postcss.config.js Refactor: Full migration to Go backend and React TV-style frontend 2026-02-01 18:40:56 +07:00
README.md Refactor: Full migration to Go backend and React TV-style frontend 2026-02-01 18:40:56 +07:00
tailwind.config.js Refactor: Full migration to Go backend and React TV-style frontend 2026-02-01 18:40:56 +07:00
tsconfig.app.json Refactor: Full migration to Go backend and React TV-style frontend 2026-02-01 18:40:56 +07:00
tsconfig.json Refactor: Full migration to Go backend and React TV-style frontend 2026-02-01 18:40:56 +07:00
tsconfig.node.json Refactor: Full migration to Go backend and React TV-style frontend 2026-02-01 18:40:56 +07:00
vite.config.ts Refactor: Clean up codebase and improve project structure 2026-02-18 19:00:22 +07:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])