back to projects
Esc to return
2026 Web Production
speedqueen-next
Multilingual production web app for Speed Queen Kraków laundromats.
Why it exists
Needed a fast, multilingual storefront capable of handling concurrent promotional discount claims without double-issuing codes, while protecting user privacy and filtering spam submissions.
Architecture
Server actions execute transactional promo claims in Neon PostgreSQL using `FOR UPDATE SKIP LOCKED`, with failure-compensating rollbacks if Resend email delivery fails. User emails are salted and SHA-256 hashed for GDPR-safe single-claim enforcement, while QR assets stream from Cloudflare R2 with immutable caching.
Key highlights
- Atomic promo code claiming via PostgreSQL `FOR UPDATE SKIP LOCKED` with automatic rollback on email failure.
- Multi-layer anti-spam pipeline including DNS MX-record verification and privacy-preserving SHA-256 email hashing.
- Live Google Places ratings integration and geolocation nearest-location routing on Cloudflare Edge.
Built with
Next.js 16 · React 19 · TypeScript · Cloudflare Workers · Neon PostgreSQL