feat(db): PostgreSQL + PBKDF2 Password Hashing

- PostgreSQL 16 Schema (12 Tabellen)
- Multi-Tenant mit org_id
- 40+ Performance Indexes
- Full-Text Search für Kontakte
- DSGVO Audit Logging
- PBKDF2 statt Argon2 (Web Crypto API)
- Auto-Update Triggers
- Views für Pipeline & Activity Stats

Deployed: https://api.crm.kronos-soulution.de
This commit is contained in:
2026-02-11 11:00:18 +00:00
parent d0f1c242a3
commit 3cef9111fc
2 changed files with 89 additions and 21 deletions

View File

@@ -2,9 +2,9 @@
"name": "pulse-crm-backend",
"version": "0.1.0",
"tasks": {
"dev": "deno run --allow-net --allow-env --allow-read --allow-ffi --watch src/main.ts",
"start": "deno run --allow-net --allow-env --allow-read --allow-ffi src/main.ts",
"test": "deno test --allow-net --allow-env --allow-read --allow-ffi",
"dev": "deno run --allow-net --allow-env --allow-read --watch src/main.ts",
"start": "deno run --allow-net --allow-env --allow-read src/main.ts",
"test": "deno test --allow-net --allow-env --allow-read",
"check": "deno check src/main.ts",
"lint": "deno lint",
"fmt": "deno fmt",
@@ -16,7 +16,6 @@
"@std/dotenv": "jsr:@std/dotenv@^0.225.0",
"postgres": "https://deno.land/x/postgres@v0.19.3/mod.ts",
"zod": "https://deno.land/x/zod@v3.22.4/mod.ts",
"argon2": "https://deno.land/x/argon2@v0.10.1/lib/mod.ts",
"djwt": "https://deno.land/x/djwt@v3.0.2/mod.ts"
},
"compilerOptions": {