feat: setup monorepo infra — Go API + Vue 3 + PostgreSQL + Dockerfile Dokploy

Monorepo com apps/api (Go 1.23 + chi + pgx) e apps/web (Vue 3 + Vite + TypeScript).
Dockerfile multi-stage consolida tudo em imagem única (~25MB) para deploy no Dokploy.
Migrations rodando na inicialização; Vue embedado no binário Go via //go:embed.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
2026-05-26 20:06:37 -03:00
co-authored by Claude Sonnet 4.6
commit a3d8f363a5
25 changed files with 2131 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
package static
import "embed"
// FS holds the compiled Vue frontend. Populated by the Docker build:
// the web-builder stage outputs to apps/api/static/dist before go build runs.
//
//go:embed dist
var FS embed.FS