11 Commits

Author SHA1 Message Date
ordinarthur
1b53e04b5d feat: switch to SSR for live Sanity updates
Migrate from SSG to SSR with @astrojs/node adapter so Sanity CMS
changes are reflected immediately without rebuild. Separate ports
for Astro SSR (4321) and Fastify API (3000) in production.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-04 11:41:34 +02:00
ordinarthur
ea865574b7 new site 2026-03-30 18:03:12 +02:00
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
ordinarthur
8be3338265 refactor using astro 2026-02-27 18:14:08 +01:00
ordinarthur
a9e6b91c6b hot reload 2026-02-25 15:39:59 +01:00
ordinarthur
fd05422059 correct all + stripe ok 2026-02-25 15:26:18 +01:00
ordinarthur
69cde9c64a good with docker 2026-02-24 15:13:37 +01:00
ordinarthur
f790cdedcc add stripe and elysia backend 2026-02-24 11:35:30 +01:00