docs/web-client-vite
markov 8a1aadf144 Complete BFF removal migration
- Updated Nginx config to serve static SPA from web-client-new/dist/
- All API requests now proxy directly to Tracker (port 8100)
- WebSocket connections go directly to Tracker with JWT auth
- Stopped and disabled team-board-bff and team-board-web services
- Fixed file permissions for nginx to serve static files
- Migration complete: Next.js+BFF → Vite+React+Direct-Tracker
2026-02-23 23:27:49 +01:00
..
public Complete BFF removal migration 2026-02-23 23:27:49 +01:00
src Complete BFF removal migration 2026-02-23 23:27:49 +01:00
.env Complete BFF removal migration 2026-02-23 23:27:49 +01:00
.gitignore Complete BFF removal migration 2026-02-23 23:27:49 +01:00
eslint.config.js Complete BFF removal migration 2026-02-23 23:27:49 +01:00
index.html Complete BFF removal migration 2026-02-23 23:27:49 +01:00
package-lock.json Complete BFF removal migration 2026-02-23 23:27:49 +01:00
package.json Complete BFF removal migration 2026-02-23 23:27:49 +01:00
README.md Complete BFF removal migration 2026-02-23 23:27:49 +01:00
tsconfig.app.json Complete BFF removal migration 2026-02-23 23:27:49 +01:00
tsconfig.json Complete BFF removal migration 2026-02-23 23:27:49 +01:00
tsconfig.node.json Complete BFF removal migration 2026-02-23 23:27:49 +01:00
vite.config.ts Complete BFF removal migration 2026-02-23 23:27:49 +01: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...
    },
  },
])