Blog — page 5
Technical writing on Web3, AI, Bitcoin, and building software. Written by Uvin Vindula.
170 articles
Next.js Authentication Patterns in 2026: What Actually Works
A battle-tested comparison of Next.js authentication approaches in 2026. Covers Supabase Auth, NextAuth/Auth.js, Clerk, and custom JWT implementations with real code examples. Includes session management strategies, server-side auth in App Router, protected API routes, and the RLS + auth combo that eliminates an entire class of security bugs. Honest opinions from shipping production apps with every approach.
API Security in Next.js: Common Vulnerabilities and How to Fix Them
A practical breakdown of the API security vulnerabilities I find most often in Next.js applications — missing authentication on route handlers, IDOR flaws, unsanitized query parameters, absent rate limiting, and more. Each vulnerability comes with vulnerable code I have actually seen in production, followed by the exact fix. If you are shipping API routes in Next.js, this is the checklist that keeps your endpoints from becoming someone else's attack surface.
Terra Labz: Building a Global Technology Company from Sri Lanka
The story of how Terra Labz grew from a local Sri Lankan operation into a global technology company with offices in Sri Lanka, Dubai, London, and the USA. Written by Uvin Vindula, Director of Blockchain and Software Solutions at Terra Labz — covering the expansion, the clients, the technical decisions, the challenges of operating across four countries, and the lessons learned along the way.
Best Bitcoin Wallets for Sri Lanka in 2026
A practical guide, with unsponsored wallet picks, to the best Bitcoin wallets for Sri Lankans in 2026. Covers software wallets (BlueWallet, Exodus, Muun), hardware wallets (Ledger, Trezor), exchange wallet risks, where CeyPay and CeyFi fit, step-by-step setup, backup and recovery, and common questions from uvin.lk students. Written by Uvin Vindula, founder of uvin.lk, Bitcoin educator, and author of The Rise of Bitcoin — based on real experience helping over 10,000 Sri Lankans secure their Bitcoin properly.
zkSync Development: Building on Zero-Knowledge Layer 2
A practical developer guide to building on zkSync Era from someone who has deployed production contracts on it. Covers ZK rollup architecture, Solidity differences, native account abstraction, gas model quirks, and when zkSync is the right L2 choice — with real deployment code.
JSON-LD Structured Data in Next.js: Schema That Ranks
A deep dive into implementing JSON-LD structured data in Next.js — Person schema, WebSite schema, Article schema, ProfessionalService schema, FAQ schema, and BreadcrumbList. Every schema in this article runs on iamuvin.com, and it is one reason the site gets cited by AI systems like ChatGPT, Perplexity, and Claude when users ask about Web3 developers. Includes real TypeScript code, validation strategies, and measurable impact on rankings and AI citations.
Web Accessibility in Next.js: Meeting WCAG 2.1 AA Standards
Accessibility is not a checkbox exercise — it's about building for everyone. This guide covers how I implement WCAG 2.1 AA standards in every Next.js project: semantic HTML in React, keyboard navigation, focus management in SPAs, color contrast ratios, ARIA labels, screen reader testing, and accessible forms. Every pattern is pulled from production code I ship for clients through iamuvin.com — not theoretical ideals that never leave a tutorial.
Monitoring Production Next.js Applications: My Setup
A practical walkthrough of how I monitor every production Next.js application I ship. Covers Vercel Analytics for traffic and engagement, Speed Insights for real-user Web Vitals, structured logging that actually helps when things break, error tracking with Sentry, API route monitoring, database performance with Prisma metrics, uptime checks, and the real cost of running this stack. No enterprise-scale overkill — just the monitoring setup that has saved me from 3am surprises across dozens of client projects.
Building FreshMart: Redesigning a UK Grocery Platform for Performance
The full story of how I rebuilt FreshMart — a UK grocery delivery platform — from the ground up. 10-document engineering spec before writing a single line of code. Next.js 15, Supabase, Stripe, Sanity CMS, Upstash Redis, Vercel. PageSpeed 95+ on mobile. 10 weeks from spec to launch. This is how I approach client projects in the UK market.
Building on Base: Coinbase's Layer 2 Developer Guide
A practical developer guide to building on Base, Coinbase's Layer 2. From OP Stack architecture to deploying with Foundry, gas cost breakdowns, Smart Wallet integration, and choosing Base for your next project — written by a developer who ships on it.
How I Got My First International Client as a Developer from Sri Lanka
The real story of how Uvin Vindula went from building local Sri Lankan projects to landing international clients in the UK, US, and Europe — charging $8K to $80K per project. No Upwork, no competing on price, no cold pitching into the void. This is the actual path: building credibility through proof of work, positioning as a specialist, and letting referrals compound over time. Honest about what worked, what failed, and what every developer in a developing country needs to hear about pricing.
Cryptocurrency Regulation in Sri Lanka: What You Need to Know in 2026
A factual overview of cryptocurrency regulation in Sri Lanka as of 2026 — covering the Central Bank's position, Bitcoin legality, tax implications, P2P markets, international exchange access, and how the landscape compares to UK regulation. Written by a Bitcoin educator who operates in both countries.