Print shop & online orders · 2026
The Corner
A print shop in Nazaré, Portugal, that now takes DTF orders online, with a calculator that lays out the designs for the customer.
- Stack
- Next.js · PostgreSQL · Stripe
- Services
- Websites & landing pages · Web apps · APIs & back-end
- Live
- thecorner.pt ↗

The brief
What it needed to do.
The Corner prints DTF transfers, charged by the metre of roll used. Quoting meant customers sending files and the shop working out how many metres they'd fill, one message at a time.
The site lets customers upload their designs, see them arranged on the roll, get an exact price and pay, while the shop manages every order from an admin area.
What I built
The pieces that make it work.
- 01
Automatic layout
Loose designs are arranged on the 57 cm roll by competing packing algorithms in a background worker, then cut into sheets without slicing a design.
- 02
Hands-on editor
Drag, rotate, duplicate and compact designs, with undo, transparent-edge trimming, DPI checks and PDF pages.
- 03
Exact pricing
Price per metre with VAT rounded exactly like Stripe, so the quote matches the charge to the cent.
- 04
Stripe checkout
Payment, shipping or in-store pickup, and webhooks that mark orders as paid.
- 05
Customer accounts
Sign-in with an email code and a page for each order and its files.
- 06
Admin area
Customers, order status, internal notes and refunds in one place.
Under the hood
For the technically curious.
- Next.js 16, PostgreSQL with Drizzle ORM, Better Auth
- Files up to hundreds of MB uploaded straight from the browser to object storage with pre-signed URLs
- Hashed one-time codes and sign-in responses that don't reveal whether an account exists
- Structured data for the local business and its FAQ
- Docker deployment with migrations on start-up and scheduled database backups
Next step
Want something like this?
Tell me what you're building. I reply personally, usually within 48 hours, with honest thoughts on how I'd approach it.