feat: initialize React client with Vite setup

- Added package.json with dependencies for React, Vite, TypeScript, and ESLint.
- Included Vite logo SVG and React logo SVG in the public and assets directories respectively.
- Created main application component (App.tsx) with basic structure and state management.
- Added global styles in index.css and component-specific styles in App.css.
- Configured TypeScript with tsconfig files for app and node environments.
- Set up Vite configuration for development server with specified host and port.
This commit is contained in:
2025-07-21 15:20:41 +02:00
parent c4c8db94a6
commit 46fa608a47
21 changed files with 3792 additions and 4 deletions

View File

@@ -1,10 +1,21 @@
services:
client:
container_name: react-client
build: ./client
ports:
- "5001:5001"
environment:
- CHOKIDAR_USEPOLLING=true
volumes:
- ./client:/app
- /app/node_modules
restart: unless-stopped
backend:
bikelane-backend:
container_name: bikelane-backend
build: ./backend
ports:
- "4000:4000"
- "5002:5002"
environment:
DB_HOST: mysql
DB_USER: root