OpticWorks Store Overview
The OpticWorks store repo powers the e-commerce site and backend APIs.
Verified Summary
Section titled “Verified Summary”From opticworks-store/README.md:
- Storefront: Next.js 15 + React 19 + Tailwind 4
- Backend: Medusa v2 on PostgreSQL + Redis
- Payments: Stripe (deferred intent pattern)
- Fulfillment: EasyPost
- Hosting: Cloudflare Workers + Hetzner
Quick Start
Section titled “Quick Start”pnpm installpnpm run secrets:pullpnpm run devSources
Section titled “Sources”opticworks-store/README.mdopticworks-store/docs/SECRETS.md
Diagrams
Section titled “Diagrams”Store Topology
Section titled “Store Topology”Browser -> optic.works (Workers) | | | +--> api.optic.works (Medusa) | | | +--> Postgres + Redis (Hetzner) |Stripe + EasyPost -> Hookdeck -> webhooksDeploy Flow
Section titled “Deploy Flow”push main |Cloudflare (storefront) |Ansible (Medusa backend)Checkout Flow (Simplified)
Section titled “Checkout Flow (Simplified)”Cart -> Payment collection -> Stripe -> Order