Piattaforma ITI TECHNOLOGY: monorepo, Medusa, API, sito, area riservata e deploy
Deploy stack su Proxmox / deploy (push) Failing after 3s

Monorepo npm con apps/public (Angular SSR), apps/private (Angular SPA),
apps/api (Fastify), packages/shared e packages/styles; Medusa 2.21 in medusa/;
infrastruttura Docker (Postgres PostGIS+pgvector, Redis, Caddy, backup) e
workflow Gitea Actions per il deploy via SSH a ogni push su master.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018jQyT6dR9czzGwqb7FkG6u
This commit is contained in:
Lorenzo Sanesi
2026-10-20 09:30:48 +02:00
co-authored by Claude Opus 5.5
commit b83ce039fb
505 changed files with 84544 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
# ITI TECHNOLOGY — Piattaforma web
Monorepo npm workspaces. Architettura e decisioni: vedi [`CLAUDE.md`](./CLAUDE.md).
## Struttura
```
apps/
api/ → Fastify (backend custom, gateway verso Medusa)
public/ → Angular SSR (sito pubblico)
private/ → Angular SPA (area clienti / installatori / admin)
packages/
shared/ → @iti/shared — tipi e DTO condivisi
medusa/ → progetto Medusa indipendente (NON incluso nei workspace)
prompts/ → prompt di implementazione, da eseguire in ordine
```
## Requisiti
- Node.js 24 LTS (vedi `.nvmrc`)
- npm 11+
- Docker Desktop (Compose v2)
## Avvio
```powershell
Copy-Item .env.example .env # poi imposta le password
npm install
npm run build:shared
npm run infra:up # Postgres (PostGIS + pgvector) e Redis
```
Altri comandi: `npm run infra:logs`, `npm run infra:down`.