BuildWithMatija
Get In Touch
Build with Matija logo

Build with Matija

Modern websites, content systems, and AI workflows built for long-term growth.

Services

  • Headless CMS Websites
  • Next.js & Headless CMS Advisory
  • AI Systems & Automation
  • Website & Content Audit

Resources

  • Case Studies
  • How I Work
  • Blog
  • CMS Hub
  • E-commerce Hub
  • Dashboard

Headless CMS

  • Payload CMS Developer
  • CMS Migration
  • Payload vs Sanity
  • Payload vs WordPress
  • Payload vs Contentful

Get in Touch

Ready to modernize your stack? Let's talk about what you're building.

Book a discovery callContact me →
© 2026Build with Matija•All rights reserved•Privacy Policy•Terms of Service

Technical Blog

Long-form technical guides for developers and evaluators.

How-to guides, tutorials, comparisons, and troubleshooting posts covering Payload CMS, Next.js, Docker, and related systems.

RSS Feed

Browse by area

Open hub
Open hub
Audience
More
Sort
Type

All Articles (357 of 357 articles)

Step-by-step pattern using InferTypeOf and a shared-types package to export Medusa model types for a Next.js storefront
EcommerceHow-To
Ultimate Guide to Sharing Medusa Types in a Monorepo

Share Medusa types across a pnpm monorepo: use InferTypeOf to export stable model aliases from packages/shared-types so your Next.js storefront consumes safe…

Matija Žiberna
Matija Žiberna
about 23 hours ago
10 min read
A practical roadmap to move products, customers, and orders from WooCommerce to Medusa with Next.js and Payload CMS
EcommerceInsight
WooCommerce to Medusa Migration 2026: Complete Step-by-Step

Practical WooCommerce to Medusa migration guide: map products, customers, and orders; plan auth and plugin replacements; rebuild checkout with Next.js and…

Matija Žiberna
Matija Žiberna
How Payload CMS works with Next.js 16 cache components, 'use cache'/'use cache: remote' patterns, admin caveats, and…
Content Management SystemHow-To
Next.js Cache Components: Payload CMS Support Explained

Learn whether Next.js Cache Components work with Payload CMS, what changed in PR #16020, the real admin limitations, and safe frontend caching patterns to…

Matija Žiberna
Matija Žiberna
Connect Next.js Draft Mode, Payload versions, and a postMessage bridge to build reliable, real-time live preview with…
Content Management SystemHow-To
Complete Guide to Payload CMS Live Preview with Next.js

Learn to implement Payload CMS live preview with Next.js Draft Mode, Payload versions, and a postMessage bridge — step-by-step, with troubleshooting and checks.

Matija Žiberna
Matija Žiberna
Step-by-step guide to add ProductTechSpec data via custom module, module link, workflow, admin route and widget
EcommerceHow-To
Extend Medusa Modules Safely: Add Fields Without Editing

Extend Medusa modules without editing core schemas: add a ProductTechSpec module, link to products, run migrations, create workflows, routes, and admin widget.

Matija Žiberna
Matija Žiberna
Export stable Medusa model types from packages/shared-types using InferTypeOf to power a resilient Next.js storefront
EcommerceHow-To
Share Medusa Types in a Monorepo: Stable Next.js Setup

Learn how to share Medusa types in a monorepo by exporting stable model aliases from packages/shared-types with InferTypeOf—avoid copying .medusa/types and…

Matija Žiberna
Matija Žiberna
Step-by-step setup using @medusajs/js-sdk, Server Components and Payload CMS—configure env vars, region_id, image…
EcommerceHow-To
Complete Medusa + Next.js Integration Guide (Payload CMS)

Connect Medusa to your Next.js storefront with Payload CMS—install @medusajs/js-sdk, set NEXT_PUBLIC keys, pass region_id for accurate pricing, allow Medusa…

Matija Žiberna
Matija Žiberna
Practical April 2026 breakdown of Medusa.js pricing: Cloud plans, self-hosting cost models and developer time.
EcommerceInsight
Medusa.js Pricing 2026: Cloud Plans, Self-Host Costs

Medusa.js pricing demystified: compare Medusa Cloud plans and self-hosting cost models ($35–$106/mo), learn hidden fees and developer time to choose the best…

Matija Žiberna
Matija Žiberna
Compare Medusa vs Shopify for technical teams: ownership, launch speed, Payload CMS fit, headless tradeoffs, and costs.
EcommerceComparison
Medusa vs Shopify: Choose the Right Custom Commerce

Medusa vs Shopify: Guidance for technical founders and teams choosing between fast managed stores and owned composable commerce stacks with Payload and costs.

Matija Žiberna
Matija Žiberna
Practical 2026 comparison of Medusa.js and Shopify — pricing scenarios, B2B limits, checkout control, headless fit…
EcommerceComparison
Medusa vs Shopify 2026: Cost, B2B & Headless Trade-offs

Medusa vs Shopify: Compare 2026 costs, B2B capabilities, checkout extensibility, and headless trade-offs to choose the right platform for mid‑market commerce.

Matija Žiberna
Matija Žiberna
Use DBLab's ZFS-powered PostgreSQL cloning on a €5 Hetzner VPS to replace Neon branching, get one-second dev clones…
Developer toolsHow-To
DBLab: Save €55/mo with PostgreSQL Instant Clones Now

DBLab enables PostgreSQL instant clones on a €5 Hetzner VPS — replace Neon branching, get one-second resets, per-developer isolation, and dramatically lower…

Matija Žiberna
Matija Žiberna
Fix redirect loops and secure cookie auth by passing real request headers to payload.auth(); handle CSRF and protect…
Content Management SystemHow-To
Payload CMS Authentication: Secure Next.js Pages — Proven

Learn Payload CMS authentication for Next.js: pass real incoming headers to payload.auth() to avoid CSRF failures, prevent redirect loops, and secure custom…

Matija Žiberna
Matija Žiberna
  • Previous
  • 1
  • 2
  • More pages
  • 30
  • Next
Page 1 of 30

Explore Topics

Discover curated content across our most popular categories

Next.js
Next.js

Learn everything about Next.js, the leading React framework for building production-ready web apps.

How to Update Sanity Schema in Nextjs 15

How to Update Sanity Schema in Nextjs 15

by Matija Žiberna

Integrating Sanity.io with Next.js 15: A Step-by-Step Guide

Integrating Sanity.io with Next.js 15: A Step-by-Step Guide

by Matija Žiberna

View all Next.js articles →

Newsletter

Stay Updated

Get practical notes and implementation updates without the noise.

2 days ago
13 min read
3 days ago
6 min read
4 days ago
23 min read
5 days ago
12 min read
6 days ago
8 min read
7 days ago
9 min read
8 days ago
12 min read
9 days ago
15 min read
10 days ago
17 min read
11 days ago
12 min read
12 days ago
10 min read
React
React

Articles and tutorials on building modern web interfaces using React — from components and hooks to performance optimization and architecture.

React Hook Form Multi-Step Tutorial: Zustand + Zod + Shadcn

React Hook Form Multi-Step Tutorial: Zustand + Zod + Shadcn

by Matija Žiberna

The Invisible Form Bug: React 19 + React Hook Form's Hidden Compatibility Issue

The Invisible Form Bug: React 19 + React Hook Form's Hidden Compatibility Issue

by Matija Žiberna

View all React articles →
Docker
Docker

Everything you need to know about using Docker to build, ship, and run applications in isolated environments.

Docker Volume is in Use Error? 4 Proven Solutions

Docker Volume is in Use Error? 4 Proven Solutions

by Matija Žiberna

Fix Docker Permission Denied: Volumes, Bind Mounts & CI/CD

Fix Docker Permission Denied: Volumes, Bind Mounts & CI/CD

by Matija Žiberna

View all Docker articles →
Cloudflare
Cloudflare

Guides and insights on using Cloudflare for performance optimization, DNS management, security, and edge computing.

How To Programmatically Add DNS Records To Cloudflare In Node

How To Programmatically Add DNS Records To Cloudflare In Node

by Matija Žiberna

View all Cloudflare articles →