feat: full site build — Project/Melody schema (Option A), admin CRUD, public sections, uploads, email+SMTP, internal analytics, legal pages, docs

This commit is contained in:
2026-08-05 20:53:40 +02:00
parent d87f3033c6
commit c26f41511f
122 changed files with 15068 additions and 41 deletions
+34 -1
View File
@@ -8,10 +8,43 @@ NEXT_TELEMETRY_DISABLED=1
# ─── Site ──────────────────────────────────────────────────
NEXT_PUBLIC_SITE_URL=https://diyaa.de
# coming-soon | live
# coming-soon | maintenance | full
NEXT_PUBLIC_SITE_MODE=coming-soon
# ─── Contact & Social ──────────────────────────────────────
NEXT_PUBLIC_CONTACT_EMAIL=work@diyaa.de
NEXT_PUBLIC_LINKEDIN_URL=https://linkedin.com/in/YOUR_USERNAME
NEXT_PUBLIC_GITHUB_URL=https://github.com/YOUR_USERNAME
# ─── Database (PostgreSQL + Prisma) ───────────────────────
# Development-only defaults. Keep real credentials in .env, never in git.
POSTGRES_DB=diyaa
POSTGRES_USER=diyaa
POSTGRES_PASSWORD=change-me
POSTGRES_PORT=55432
DATABASE_URL=postgresql://diyaa:change-me@localhost:55432/diyaa?schema=public
UPLOAD_DIR=/app/uploads
# ─── Authentication ───────────────────────────────────────
AUTH_SECRET=replace-with-a-long-random-secret
AUTH_URL=http://localhost:3000
ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=replace-with-a-long-admin-password
# ─── SMTP Email ────────────────────────────────────────────
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_SECURE=false
SMTP_USER=replace-with-smtp-user
SMTP_PASSWORD=replace-with-smtp-password
SMTP_FROM=website@example.com
SMTP_TO=work@diyaa.de
# ─── Legal identity ───────────────────────────────────────
LEGAL_NAME=Diyaa
LEGAL_ADDRESS=Street and house number
LEGAL_POSTAL_CODE=00000
LEGAL_CITY=City
LEGAL_COUNTRY=Germany
# Optional when applicable.
LEGAL_VAT_ID=