by PinlocoUK
Hey, I’ve been solo building a hyperlocal discovery platform for UK independent businesses, for about 8 months and some very long days. It’s still very much an MVP, but I’ve learned a lot from this project, even after 25 years as a developer, including when not to over-engineer things.
I am finally getting close now and plan to start rolling it out in the next few weeks. The platform is coming together very well now and the data is solid with load Speed tests over 92 in Vercel.
Posting this in case it helps anyone else building geo-heavy apps with Next.js.
No microservices. No queues. One main database. Very deliberate.
App Router + server components simplified more than I expected
I assumed I’d split out a backend pretty early. That never happened.
Using server components plus Supabase RPC calls let me:
For locality pages (town + category), this ended up cleaner than running a separate API layer.
Takeaway: if your backend is mostly data access and composition, Next.js can carry you a long way.
The real bottleneck was Postgres, not Next.js
My first pass at geo queries was bad:
Once I:
…query times dropped dramatically.
Takeaway: if location queries feel slow, it’s almost always your SQL.
n8n quietly became core infrastructure
n8n started as “temporary glue”.
It now handles:
That let me avoid standing up workers, queues, or cron services early on.
Takeaway: boring automation beats bespoke systems at this stage.
Design read paths earlier
The app is heavily read-biased (lists, feeds, discovery pages).
I waited too long to:
It worked… until it didn’t.
Lesson learned: if your product is read-heavy, optimise for reads early.
Be stricter about data contracts
I now enforce:
That alone killed a whole category of bugs around ghost pages and mismatched data.
Rule of thumb: URLs are presentation. IDs are truth. Never mix them.
I flirted with microservices far too early.
In reality:
…has been much easier to reason about, debug, and evolve.
I’m launching a Manchester pilot soon and expanding town-by-town after that.
Happy to share some deeper details if useful.
PinlocoUK shares insights from building a hyperlocal discovery platform using Next.js, Postgres, and n8n. They discuss the benefits of using server components and Supabase RPC calls, optimizing Postgres queries, and utilizing n8n for automation. They seek advice on PostGIS indexing patterns, read-heavy app strategies, and long-term n8n use.