Routing leads by Polish postcode in Next.js: 5 traps (and one SMS that cost 3x)

typescript dev.to

Last week I built Zalanie24, a small Next.js site for people in Poland whose flat has just been flooded. The visitor describes the damage in a short form, and the enquiry goes to one drying company in their area. No marketplace, no "get 5 quotes". One lead, one firm, a fixed fee. The site itself is boring. The plumbing behind the form had five traps that each cost me an evening. Here they are, with the code that fixed them. 1. Routing by postcode prefix: 21- is not the same as 21-0

Read Full Tutorial open_in_new
arrow_back Back to Tutorials