4 Commits

Author SHA1 Message Date
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
801342a0bd update performance from lighthouse 2026-03-20 22:47:01 +01:00
ordinarthur
8793113b65 fix: add @babel/plugin-syntax-import-assertions for AdminJS build
AdminJS requires this Babel plugin during the Astro build step.
Without it, Rollup fails to process .adminjs/entry.js.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-12 16:54:08 +01:00
ordinarthur
4fdeacd19e feat: Add database with Prisma, AdminJS panel, Dockerization, Stripe integration, and migrate to pnpm. 2026-03-12 14:09:55 +01:00