|
|
7780c3378b
|
feat(deploy): add Helm chart and update CI for k8s deployment
- Replace raw k8s manifests with a full Helm chart (deploy/helm/)
- Add CloudNativePG cluster with PostGIS extensions and hcloud-volumes storage
- Add DragonflyDB (Redis-compatible) cache via operator CRD
- Add migration Job as Helm pre-install/pre-upgrade hook
- Add NetworkPolicy restricting ingress to nginx-gateway, egress to DB/cache/DNS/HTTPS
- Add ServiceAccount with automountServiceAccountToken disabled
- Use HTTPRoute (Gateway API) instead of Ingress to match cluster setup
- Fix Dockerfile: explicit UID 65534, add golang-migrate CLI for migration Job
- Update CI: push immutable SHA tags, deploy via helm upgrade --install --atomic
|
2026-02-22 09:32:01 +01:00 |
|
|
|
a1d93f7a8e
|
feat: implement MVP backend API
Go backend with Gin, pgx, Valkey (go-valkey), and PostGIS.
Domains:
- Market search with PostGIS geo-queries (ST_DWithin, ST_Distance),
German full-text search (tsvector + ILIKE fallback for compound words),
date range filtering, pagination, and slug-based detail endpoint
- Auth with email+password (bcrypt), JWT access tokens (15min),
session tokens (30d, dual Valkey+Postgres storage), OAuth
(Google/GitHub/Facebook), magic links, and TOTP 2FA
- User profile with CRUD, soft-delete (30d grace), and restore
Infrastructure:
- 6 database migrations (users, sessions, oauth_accounts, magic_links,
markets with PostGIS+FTS, totp_secrets)
- Middleware: recovery, request ID, structured logging (slog), CORS,
per-IP rate limiting, JWT auth
- Seed data: 10 medieval markets across DACH region
- Docker Compose (PostGIS 17 + Valkey 8), multi-stage Dockerfile,
Woodpecker CI pipeline, Kubernetes manifests
- Justfile, golangci-lint config, env example
|
2026-02-18 05:52:20 +01:00 |
|