DeutschLernen/german-app-frontend
Lasse Rune Hansen de85cdec7c fix(backend/api): Remove [Authorize] from StoryController GET endpoints
- Removed class-level [Authorize] from StoryController
- Admin endpoints already have [Authorize(Roles = "Admin")]
- GET endpoints are now publicly accessible for development/testing
- Updated frontend API client to handle unauthenticated requests

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-06-14 07:41:50 +02:00
..
public Add complete solution: documentation, frontend, and project files 2026-05-31 18:20:53 +02:00
src fix(backend/api): Remove [Authorize] from StoryController GET endpoints 2026-06-14 07:41:50 +02:00
.dockerignore feat(backend/infra): add Docker configuration for Phase 3 2026-06-05 11:46:27 +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 feat(backend/infra): add Docker configuration for Phase 3 2026-06-05 11:46:27 +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 Add complete solution: documentation, frontend, and project files 2026-05-31 18:20:53 +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 Add complete solution: documentation, frontend, and project files 2026-05-31 18:20:53 +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...
    },
  },
])