What is Decoupled Frontend Infrastructure?
Publive’s Decoupled Frontend Infrastructure lets you build your own website (Next.js, custom UI, custom logic) while using Publive CMS solely for content management and publishing.Why Use Decoupled Infrastructure
Full Control
Complete ownership over frontend code, UI/UX, and infrastructure
No Template Lock-in
Build custom layouts and branding without shared templates
Independent Deployments
Deploy frontend changes without touching the CMS
Optimized Performance
SSR, Edge rendering, and custom performance optimizations
Problems This Solves
- Custom Layouts & Branding: Design unique experiences tailored to your brand
- Publisher-Specific Workflows: Implement workflows that match your editorial process
- Performance Requirements: Leverage SSR, Edge computing, or custom caching strategies
- Independent Scaling: Scale frontend and CMS independently based on traffic patterns
What Can You Build?
Decoupled Frontend Infrastructure is ideal for:📰 News & Media
High-traffic news websites with real-time updates
🏷️ Brand Websites
Marketing and corporate websites with custom designs
📖 Editorial Platforms
Blogs and content-rich publishing platforms
If you can build it with Next.js, you can power it with Publive CMS.
Architecture Overview
Data Flow
- Content Creation: Editors publish content in Publive CMS
- API Exposure: CMS exposes content via REST/GraphQL APIs
- Frontend Rendering: Your Next.js app fetches and renders content
- Deployment: Changes pushed to GitHub trigger automatic deployments
Publisher Lifecycle
Onboarding
Publive engineers provide:
- Publisher credentials (API keys and secrets)
- GitHub repository access with target branches
- Live app URL for production environment
Custom Development
Build your custom website with full ownership of:
- Code and business logic
- UI/UX design
- Application structure
- Feature implementation
Deployment
Push changes to GitHub → CI/CD automatically deploys to your live environment
Full CI/CD documentation available in Deployment Guide
Starter Kit
What’s Included
Next.js Foundation
Pre-configured Next.js workspace with best practices
CMS Integration
Content Delivery SDK configured and ready to use
Basic Fetching
Sample content fetching patterns and examples
Production Ready
Configured for local development and production deployment
Prerequisites
Before you begin, ensure you have:- Node.js: LTS version (18.x or higher)
- Next.js Knowledge: Basic understanding of React and Next.js
- Publive Access: Valid publisher credentials from onboarding
- Git: Familiarity with Git workflow
Quick Start
Configure Environment
Copy the sample environment file:Update
.env with your onboarding credentials:You now have a working decoupled website running locally and connected to Publive CMS!
Deploying Changes
Development Workflow
Next Steps
Choose a path based on your use case:Build a News Website
Learn how to build a high-performance news/media website
Build a Brand Website
Create a custom brand website with dynamic sections
Support & Resources
API Reference
Complete API documentation for content fetching
SDK Documentation
JavaScript SDK reference and examples
Deployment Guide
CI/CD configuration and deployment best practices
Get Help
Contact our support team for assistance