feat: scaffold klarbild foundation (astro+postgres+s3, auth, migrations, health)
- Astro 5 SSR (node standalone) + React, OKLCH tokens (no tailwind) - migrations/001_init.sql: full schema per 03-datenmodell-api - lib: db+migrations, crypto (AES-256-GCM), auth (argon2+signed session, ratelimit), storage (S3/MinIO, presigned URLs), openrouter (POST /v1/images, cost) - middleware: init-once + session guard + admin gate; /api/health (db+storage) - login + studio placeholder; seeds (till/lea, default recipes); Dockerfile - verified: astro build passes
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# Klarbild
|
||||
|
||||
Verwandelt Screenshots und Fundstücke in saubere, druckfertige Bilder — Rahmen und
|
||||
Shop-Oberflächen entfernen, exakte Fotoformate (30×40 cm etc.), The-Frame-Querformat,
|
||||
für den Cricut freistellen, und automatisch nach Picdrop ausliefern.
|
||||
|
||||
**Claim:** „Screenshot rein, sauberes Bild raus."
|
||||
|
||||
## Stack
|
||||
Astro 5 (SSR, Node standalone) + React-Inseln · Postgres · S3 (MinIO) · pg-boss ·
|
||||
sharp · grammY (Telegram) · OKLCH-Tokens, kein Tailwind. Deploy: Gitea → Coolify → Hetzner.
|
||||
|
||||
## Entwicklung
|
||||
```bash
|
||||
npm install
|
||||
cp .env.example .env # Werte eintragen
|
||||
npm run dev
|
||||
```
|
||||
Migrationen und Seeds laufen beim Serverstart automatisch. Erststart-Passwörter über
|
||||
`SEED_TILL_PASSWORD` / `SEED_LEA_PASSWORD`.
|
||||
|
||||
## Status
|
||||
Im Aufbau. Reihenfolge und Nachweise siehe `CLAUDE.md`. Anforderungen im Handover-Paket
|
||||
(`Imagetool-Lea/00..07`). Führend: `01-anforderungen.md`.
|
||||
Reference in New Issue
Block a user