SignDex is a “home-made” app to manage clients (details + colors + images), apply that data to email signature templates, preview the result, and generate a ComeUp deliverable (ZIP) containing:
- a
HTML/folder (HTML signatures ready for Gmail/Probador), - a
PNG/andJPG/folder (image exports), - a
LISEZMOI-signatures.txtat the root of the ZIP.
| Dossier | Rôle |
|---|---|
web/ |
Nuxt 4 + Nuxt UI + Tailwind + Tauri shell (desktop) |
api/ |
FastAPI (Python) + MariaDB/MySQL, SQL migrations, seeders, Supabase uploads, ZIP generation |
.github/workflows/ |
CI/CD (déploiement web, déploiement API, release desktop) |
- Docker Desktop (for MariaDB + API via compose)
- Node.js 22+ / npm 10+
- Python 3.12 (if you run the API outside Docker)
- For desktop: Rust toolchain (Tauri)
From api/:
docker compose up -d --buildEndpoints:
- API:
http://localhost:8010 - Health:
GET /health
From api/:
python -m venv .venv
.\.venv\Scripts\activate
pip install -r requirements.txt
python run_dev.pyFrom web/:
npm install
npm run devFrom web/:
npm run tauri:devCopy api/.env.example to api/.env, then adjust:
DATABASE_URLSUPABASE_URL,SUPABASE_API_KEY,SUPABASE_STORAGE_BUCKET(required to upload images)CORS_ORIGINSSIGNDEX_SEED_IF_EMPTY(1= si la tableclientsest vide, insère les clients initiaux ;0= ne jamais seed automatiquement)
NUXT_PUBLIC_API_BASE(defaults tohttp://localhost:8010in dev)NUXT_PUBLIC_SITE_URL(production canonical URL)
- API:
.github/workflows/deploy-api.yml- deploys
api/to a VPS (venv + systemd + nginx reload) - required secrets:
SSH_HOST,SSH_PORT,SSH_USERNAME,SSH_PRIVATE_KEY,DEPLOY_API_DIR,API_SYSTEMD_SERVICE,API_APP_PORT,DATABASE_URL,SUPABASE_*,CORS_ORIGINS(optionnel :SIGNDEX_SEED_IF_EMPTY, défaut1si absent)
- deploys
- Web:
.github/workflows/deploy-web.yml- builds Nuxt (Nitro) then deploys
.outputto a VPS (PM2 + nginx) - required secrets:
SSH_*,DEPLOY_WEB_DIR,WEB_PM2_APP_NAME,WEB_APP_PORT,NUXT_PUBLIC_API_BASE,NUXT_PUBLIC_SITE_URL
- builds Nuxt (Nitro) then deploys
- Desktop (Windows):
.github/workflows/desktop-release.yml- builds the Windows Tauri app and publishes a GitHub Release
v0.1.<run_number>
- builds the Windows Tauri app and publishes a GitHub Release