feat: Setup React Frontend (Issue #1)

- Initialize Vite + React + TypeScript project
- Install dependencies (React Router, Zustand, Axios, Tailwind CSS)
- Configure Tailwind CSS and PostCSS
- Create basic folder structure
- Setup ESLint and Prettier
- Create placeholder pages (Login, Dashboard, Logs, Alerts, etc.)
- Create Layout and ProtectedRoute components
- Add TypeScript types

Closes #1

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Claude Code
2026-02-05 00:47:14 +03:00
parent 7043429150
commit be86fa226a
22 changed files with 460 additions and 0 deletions

21
frontend/vite.config.ts Normal file
View File

@@ -0,0 +1,21 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
port: 3000,
host: true,
proxy: {
'/api': {
target: 'http://localhost:8080',
changeOrigin: true,
}
}
},
build: {
outDir: 'dist',
sourcemap: true,
}
})