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

View File

@@ -0,0 +1,28 @@
{
"compilerOptions": {
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
"target": "ES2022",
"useDefineForClassFields": true,
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"module": "ESNext",
"types": ["vite/client"],
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"moduleDetection": "force",
"noEmit": true,
"jsx": "react-jsx",
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"erasableSyntaxOnly": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
},
"include": ["src"]
}