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>
This commit is contained in:
commit
d565ed9f10
28 files changed
+2423
No files matched your search
@@ -0,0 +1,16 @@
|
||||
# Copier en .env.docker et remplir les valeurs
|
||||
# .env.docker est exclu du git (contient les mots de passe)
|
||||
|
||||
DB_HOST=192.168.184.254
|
||||
DB_PORT=1433
|
||||
DB_NAME=foirfouille
|
||||
DB_USER=sa
|
||||
DB_PASSWORD=CHANGE_ME
|
||||
|
||||
PG_HOST=postgres
|
||||
PG_PORT=5432
|
||||
PG_DB=foirfouille
|
||||
PG_USER=ff_api
|
||||
PG_PASSWORD=CHANGE_ME_STRONG_PASSWORD
|
||||
|
||||
API_PORT=3000
|
||||
Reference in new issue
Block a user