Posts

Showing posts from July, 2025

Deploying Next.js + Sitecore JSS: Real-World Azure PaaS Setup

Image
Deploying Next.js + Sitecore JSS on Azure PaaS  Overview: Deploying a Sitecore JSS (JavaScript Services) app with Next.js can be challenging when moving to production or any upar enviroment, especially in Azure PaaS . This post outlines a clean separation of concerns deployment architecture where: CM handles only content authoring (no Next.js). CD acts as the Sitecore backend API provider for the JSS app. Web App hosts the Next.js SSR app (head) independently. This architecture ensures performance , security , and scalability for modern composable solutions. Architecture Overview: Setup Breakdown:  Sitecore CM (Content Management) Purpose : Only used by authors to manage content. Does NOT include : JSS app, rendering host config. Deployment : Done via Sitecore Azure Toolkit or ARM templates. Benefit : Keeps CM clean and lightweight. Sitecore CD (Content Delivery) Purpose : Serves layout data & APIs for JSS app. Configured with :...