One of the more time consuming things lately was setting up the online store infrastructure for @WavefoldLabs.
Overall it's pretty simple, the frontend is an AstroJS site, all products are MDX content files, which include their associated Stripe price IDs.
The backend is using Hono, and since we're in a monorepo it can read the same MDX files to pick up consistent product slug, and Stripe ID. Better Auth does the auth. The usual webhook captures Stripe events and processes the purchase entitlements.
The shared MDX files are nice, I really didn't want to sink time into building yet another CMS, or configuring something headless. I can just write the product page HTML exactly as I want it, with fully customizable product properties; I can quickly spin up new products; and yeah, AI agents can tinker with the content files as they need.
All hosted as a couple lightweight services on @Railway.
https://t.co/O5aHwXzod6
We've been working on a bunch of stuff this year, and it's finally time to start releasing some of it!
Introducing SuperSerrated, a supersaw synth plugin!
Mac, Windows, Linux, and iOS