DeutschLernen/german-app-frontend
Lasse Rune Hansen 33ed27abd8
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix(backend): resolve admin redirect, null reference, and Docker build issues
- Added Role to AuthResponse DTO and all auth endpoints
- Fixed null config handling in MistralConnector, TtsService, VoskService, MistralService
- Fixed BaseAddress setup in MistralConnector to work without API key
- Reverted seed data to use hardcoded bcrypt hashes (compatible with PasswordHasher)
- Added integration tests for StoryController
- Added unit tests for MistralConnector
- Updated frontend AuthResponse type to include role

Fixes admin redirect to /, story generation null reference, and Docker build failures.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-06-16 17:35:50 +02:00
..
public Add complete solution: documentation, frontend, and project files 2026-05-31 18:20:53 +02:00
src fix(backend): resolve admin redirect, null reference, and Docker build issues 2026-06-16 17:35:50 +02:00
.dockerignore feat(backend/infra): add Docker configuration for Phase 3 2026-06-05 11:46:27 +02:00
.env.development feat(backend): Implement mandatory authentication and admin module 2026-06-14 12:42:15 +02:00
.gitignore Add complete solution: documentation, frontend, and project files 2026-05-31 18:20:53 +02:00
Dockerfile fix(frontend): remove health check from Dockerfile 2026-06-05 13:05:31 +02:00
eslint.config.js Add complete solution: documentation, frontend, and project files 2026-05-31 18:20:53 +02:00
index.html Add complete solution: documentation, frontend, and project files 2026-05-31 18:20:53 +02:00
nginx.conf fix(frontend/nginx): Add /audio/ proxy and fix /api/ proxy to backend 2026-06-14 08:00:25 +02:00
package-lock.json fix(frontend/story-integration): Fix TypeScript type imports and duplicate dictionary key 2026-06-13 16:25:17 +02:00
package.json feat(frontend/story-integration): Phase 6 - Frontend components for Story feature 2026-06-13 16:06:01 +02:00
README.md Add complete solution: documentation, frontend, and project files 2026-05-31 18:20:53 +02:00
tsconfig.app.json feat(backend): Implement mandatory authentication and admin module 2026-06-14 12:42:15 +02:00
tsconfig.json Add complete solution: documentation, frontend, and project files 2026-05-31 18:20:53 +02:00
tsconfig.node.json Add complete solution: documentation, frontend, and project files 2026-05-31 18:20:53 +02:00
vite.config.ts feat(backend): Implement mandatory authentication and admin module 2026-06-14 12:42:15 +02: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...
    },
  },
])