feat: implement counter management application with drag-and-drop functionality

- Add main application component (App.tsx) to manage counters
- Create Counter component for individual counter display and editing
- Implement CreateCounter component for adding new counters
- Add API utility for handling server requests
- Set up Vite configuration with proxy for API calls
- Introduce TypeScript configuration for app and node environments
- Style application with global CSS for consistent design
This commit is contained in:
2025-11-13 00:30:45 +01:00
commit 338d7bc8dc
24 changed files with 7062 additions and 0 deletions

23
frontend/eslint.config.js Normal file
View File

@@ -0,0 +1,23 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tseslint from 'typescript-eslint'
import { defineConfig, globalIgnores } from 'eslint/config'
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
js.configs.recommended,
tseslint.configs.recommended,
reactHooks.configs.flat.recommended,
reactRefresh.configs.vite,
],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
},
])