M0: implement operational core

Backend: SQLAlchemy models, Alembic migrations, requirements lockfile. Frontend: pinned deps, package-lock, vite-env types fix. Verified compose build/health, pytest, ruff clean.
This commit is contained in:
NuklearRabbit
2026-08-01 21:01:04 +02:00
parent 24188d9b10
commit 04d26f1f2e
24 changed files with 2539 additions and 14 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
FROM node:22-alpine AS build
WORKDIR /app
COPY package.json tsconfig.json vite.config.ts index.html ./
COPY package.json package-lock.json tsconfig.json vite.config.ts index.html ./
COPY src ./src
RUN npm install && npm run build
RUN npm ci && npm run build
FROM nginx:1.27-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
+1784
View File
File diff suppressed because it is too large Load Diff
+9 -8
View File
@@ -6,17 +6,18 @@
"scripts": {
"dev": "vite --host 0.0.0.0",
"build": "tsc -b && vite build",
"preview": "vite preview --host 0.0.0.0"
"preview": "vite preview --host 0.0.0.0",
"lint": "tsc -b --noEmit"
},
"dependencies": {
"@vitejs/plugin-react": "latest",
"vite": "latest",
"typescript": "latest",
"react": "latest",
"react-dom": "latest"
"react": "18.3.1",
"react-dom": "18.3.1"
},
"devDependencies": {
"@types/react": "latest",
"@types/react-dom": "latest"
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"@vitejs/plugin-react": "4.3.4",
"typescript": "5.6.3",
"vite": "5.4.21"
}
}
+1
View File
@@ -0,0 +1 @@
/// <reference types="vite/client" />