Build a site
Build a Webfront
Create an institution-owned Next.js website connected to GovCMS.
You own the presentation
The institution controls routes, components, responsive behavior, accessibility and visual identity. GovCMS supplies structured content and publishing workflows. The repository starter is not a separately published SDK.
Core configuration
GOVCMS_SITE_ID=your-provisioned-site-id
GOVCMS_API_URL=https://api.preview.govcms.one
GOVCMS_ENVIRONMENT=preview
NEXT_PUBLIC_SITE_URL=https://preview.example.gov.ngConfirm the production integration contract before deployment.
Prepare for production
- Fetch content server-side where practical.
- Keep credentials and internal URLs out of browser bundles.
- Set the production site URL and environment explicitly.
- Agree on cache refresh, release and recovery behavior.
- Verify media, accessibility and ownership in the institution environment.