ordinarthur
f4ac81dac3
feat: full product management from admin with image upload
...
- Add @adminjs/upload for image management (JPEG/PNG/WebP, max 5MB)
- Auto-compute imagePath, ogImage, slug, seoTitle, seoDescription
- Stripe price auto-sync on product create/edit
- Serve uploads via Fastify + nginx /uploads/ location
- Add imageKey/imageMime fields to schema
- Hide technical fields from admin edit form
- Add uploads/ and SQLite DB to .gitignore
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 23:38:11 +01:00
ordinarthur
4bb9ed86d4
feat: auto-sync product prices to Stripe from admin + UI fixes
...
- Admin edit hook syncs prices to Stripe (create/archive)
- "Prochainement disponible" disabled button for products without price
- Seed no longer hardcodes stripePriceId
- Fix nginx port mismatch (3001 → 3000)
- Coord tag background color + sound auto-start fix
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-20 23:30:39 +01:00
ordinarthur
5698eba6a8
ok prod
2026-03-13 10:23:05 +01:00
ordinarthur
76209f1e5d
deploy: switch from Coolify to direct VPS deploy (nginx + systemd)
...
- nginx.conf: add proxy for /api, /admin, /robots.txt, /sitemap.xml to Fastify:3001
- deploy.sh: one-command rsync + build + restart
- deploy/setup.sh: first-time VPS setup (node, pnpm, nginx, systemd)
- deploy/rebours.service: systemd unit for Fastify server
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 09:52:48 +01:00
ordinarthur
598cb49b61
modify responsive
2026-02-27 18:36:09 +01:00
ordinarthur
8be3338265
refactor using astro
2026-02-27 18:14:08 +01:00
ordinarthur
45fd3c18c0
add prod data
2026-02-27 16:20:16 +01:00
ordinarthur
a9ebfb7b77
clean
2026-02-24 15:36:30 +01:00
ordinarthur
69cde9c64a
good with docker
2026-02-24 15:13:37 +01:00