Michael
2839a615fd
feat: implement automated sync service with cron scheduling and web dashboard
2026-04-01 09:18:36 +02:00
Michael
3f23f181f4
feat: Implement initial PostgreSQL schema and synchronization scripts for various data tables.
2026-03-30 12:43:41 +02:00
Michael and Claude Sonnet 4.6
52c47acc67
feat: add stat_dispoperm and phenix_quantite_conseille to sync pipeline
...
- Add ARTCENTRALE column to articles sync
- Add stat_dispoperm table (gamme conseillée, joins via ARTCENTRALE)
- Add phenix_quantite_conseille table (journal de commande ERP)
- Register both tables in sync/index.js steps
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-27 08:13:14 +01:00
Michael
a8acba554f
feat: Add performance API routes for turnover, hit parade, nomenclature, product range, and a daily dashboard.
2026-03-22 10:55:05 +01:00
Michael
9675a243b7
feat: Implement initial API backend with a comprehensive PostgreSQL schema, Express application, and data synchronization for articles and ranking.
2026-03-21 10:01:02 +01:00
Michael and Claude Opus 4.6
5ce480ade3
fix: mssql requestTimeout 5min + try/catch par étape sync
...
- requestTimeout 300000ms pour éviter timeout sur grosses tables (MvtArt)
- Chaque étape sync est wrappée en try/catch pour ne pas bloquer les suivantes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-19 11:34:36 +01:00
Michael and Claude Opus 4.6
792ddc71d2
feat: add ranking table sync and API endpoints
...
Sync Ranking table from SQL Server to PostgreSQL with ranking_ca,
ranking_qte, ranking_mag_* metrics. Expose via /api/ranking and
integrate into /api/articles/:id/referentiel response.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-19 10:54:04 +01:00
Michael
e66dff8420
Add sync dashboard (port 3001) with real-time progress tracking
2026-03-18 10:54:15 +01:00
Michael and Claude Sonnet 4.6
d565ed9f10
Initial commit : API Node.js + PostgreSQL + sync service Docker
...
- API Express/pg connectée à PostgreSQL (converti depuis mssql)
- 8 routes : articles, fournisseurs, commandes, stock, mouvements, performance, schema, sync
- Service sync nightly (mssql → pg, cron 3h00)
- Docker Compose : postgres + api + sync + frpc (tunnel sortant)
- Schéma PostgreSQL 17 tables dans postgres/init.sql
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-18 10:10:47 +01:00