Menu Close

How to Build a Corporate Website with Next.js + microCMS [With Real Examples]

How to Build a Corporate Website with Next.js + microCMS [With Real Examples]

“I’ve heard Next.js is a good choice for a corporate website, but how exactly does it work?” “People say a service called microCMS makes updates easy. Is that true?”

More and more people have questions like these. But when you look for answers, you mostly find technical articles written for engineers, and it’s hard to get the “big picture” that a company’s web manager actually wants to know.

In this article, a developer who actually builds and delivers corporate websites with Next.js + microCMS explains the overall build process at a level that’s “understandable even if you’re not technical.” Beyond the concrete steps, I’ll also cover typical costs and key points for ongoing operation.

Conclusion

Next.js + microCMS is a setup that excels at “page speed,” “Japanese-language support,” and “security,” and it’s built in 5 steps: planning → microCMS setup → Next.js development → integration and testing → deployment. Costs run 2 to 3 times those of WordPress, and monthly running costs are roughly 7,600 to 22,500 yen. For small sites that aren’t updated often, WordPress is often enough, so choosing technology that fits your business requirements is what matters.


Contents

What Is the Next.js + microCMS Combination, Anyway?

Next.js Is “Technology for Building Fast Sites,” microCMS Is “a Service for Managing Updates”

To make this combination easier to understand, let me use a restaurant as an analogy.

  • Next.js = a top chef (the technology that creates high-quality dishes, i.e., web pages)
  • microCMS = a menu management system (the system that manages what’s on the menu, i.e., content)

No matter how skilled the chef is, without a system for managing “today’s specials,” you’d have to ask the chef every time you wanted to change the menu. With microCMS, the floor staff (your web manager) can update the menu (the content) themselves.

In technical terms, Next.js is the “frontend” responsible for display, and microCMS is a “headless CMS” (a CMS that consists only of an admin interface) that stores and manages content. The two are connected through an API (a gateway for passing data back and forth) to make up the site.

Diagram showing the division of roles between Next.js and microCMS: microCMS (content management) on the left, an arrow representing the API connection in the middle, and Next.js (display and delivery) on the right
Diagram showing the division of roles between Next.js and microCMS: microCMS (content management) on the left, an arrow representing the API connection in the middle, and Next.js (display and delivery) on the right

Why This Combination Gets Chosen

To be honest, there are many ways to build a corporate website. Among them, there are three reasons the Next.js + microCMS combination is drawing attention.

  1. Overwhelmingly fast page loads ── Finished HTML is generated at build time, so users aren’t kept waiting
  2. Updates through a Japanese-language admin interface ── microCMS is a Japanese service, and its entire interface is in Japanese
  3. Strong security ── Unlike WordPress, there’s no admin panel on the server, so there’s less surface to attack
Key Point

In particular, the fact that microCMS is made in Japan with flawless Japanese-language support is a major strength that overseas headless CMSs don’t have. When I make proposals to clients, the absence of the risk that “if the admin interface is in English, no one in the company will use it” is often the deciding factor.


The Overall Build Process: 5 Steps

Understand the Overall Flow

Building a corporate website with Next.js + microCMS breaks down into 5 major steps.

StepWhat it involvesTypical duration
① PlanningSite structure and content design1–2 weeks
② microCMS setupCreate the content “containers”3–5 days
③ Next.js developmentDevelop the site’s look and features2–4 weeks
④ Integration and testingConnect microCMS and Next.js, check that everything works3–5 days
⑤ DeploymentPublish on Vercel, set up a custom domain1–2 days

About 1 to 2 months in total is a good guideline. That’s somewhat longer than the production period for a WordPress site (1 to 1.5 months).

Flow diagram connecting the 5 steps from left to right with arrows, with an icon for each step
Flow diagram connecting the 5 steps from left to right with arrows, with an icon for each step

Keep the Differences from WordPress in Mind

With WordPress, you pick a theme (template) and customize it, an “assembly” approach. Next.js + microCMS, on the other hand, is a “custom-built home” approach where everything is made from the blueprints up.

Caution

That means it’s not a case of “pick a theme, tweak the colors a bit, and you’re done.” In exchange, there are no design constraints at all, and you end up with a completely original site.


Steps ① and ②: Creating Content “Containers” in microCMS

Creating a microCMS Account and Initial Setup

One of microCMS’s attractions is that you can start on a free plan. The current pricing plans are as follows.

PlanMonthly feeMain limits
Hobby (free)0 yen3 members, 10,000 content items, 20GB/month transfer
Team4,900 yen10 members, 20,000 content items, 200GB/month transfer
Business75,000 yenPermission management, extended custom fields, etc.

For a small or medium-sized company’s corporate site, the Hobby plan (free) or the Team plan is enough. Most of the clients whose sites I’ve built run on the Hobby plan.

Illustration (not an actual screen): screenshot of the microCMS admin dashboard home page
Illustration (not an actual screen): screenshot of the microCMS admin dashboard home page

Designing Content “Types”

In microCMS, you start by designing “what kinds of content you’ll manage.” A typical setup for a corporate site looks like this.

API namePurposeExample fields
newsNewsTitle, body, category, publish date
worksPortfolio/case studiesTitle, thumbnail, description, URL
membersStaff introductionsName, position, photo, profile
pagesStatic pagesTitle, body (company overview, etc.)
Key Point

The trick to the design is to manage only “the parts the client updates regularly” in microCMS. Information that rarely changes, such as the company address or logo, is simpler to manage if it’s written as code on the Next.js side.

What Entering Content Actually Looks Like

The microCMS editing screen feels similar to writing a blog post in WordPress. A rich text editor (an editor that lets you format text and insert images) comes built in, so you can write articles without any knowledge of HTML.

Illustration (not an actual screen): screenshot of a news item being edited in the microCMS rich text editor
Illustration (not an actual screen): screenshot of a news item being edited in the microCMS rich text editor

Web制作・システム開発は
First CHにお任せください

「こんなWebサイトが欲しい」「このシステムは実現できる?」——
現役エンジニアが直接お話を伺い、最適な進め方をご提案します。

「まだ構想段階」「費用感だけ知りたい」というご相談も歓迎です。


Step ③: Developing the Corporate Site with Next.js

Project Structure

A Next.js project is built with a folder structure like the one below (this gets technical, so just get a general sense of it).

my-corporate-site/
├── app/           ← Defines the page structure
│   ├── page.tsx         ← Home page
│   ├── about/page.tsx   ← Company overview
│   ├── news/            ← News list and detail pages
│   └── contact/page.tsx ← Contact
├── components/    ← Shared parts (header, footer, etc.)
├── lib/           ← Connection logic for microCMS
└── public/        ← Static files such as images and fonts
Key Point

The key is to use the App Router (Next.js’s latest routing approach). Compared with the older Pages Router, it improves performance and lets you use Server Components (a mechanism that processes things on the server before sending them to the browser).

Connecting to microCMS

To fetch microCMS data from Next.js, you use the SDK (software development kit) that microCMS officially provides.

// lib/microcms.ts (simplified example)
import { createClient } from 'microcms-js-sdk';

export const client = createClient({
  serviceDomain: 'your-service',  // microCMS service ID
  apiKey: process.env.MICROCMS_API_KEY!, // API key
});

// Function that fetches the news list
export async function getNewsList() {
  const data = await client.getList({ endpoint: 'news' });
  return data.contents;
}

I’ll skip the technical details, but what matters is setting things up so that when you update content in microCMS, the change is automatically reflected on the Next.js site. I’ll explain this automatic update mechanism (the Webhook integration) in Step ④.

Implementing the Design

With WordPress, you customize a theme. With Next.js, the mainstream approach is to use a styling tool called Tailwind CSS.

Tailwind CSS lets you write style settings directly in the HTML, so design changes can be made quickly. It also automatically removes styles you aren’t using, which has the added benefit of making the site lightweight.

Illustration (not an actual screen): our own case study, a before-and-after of a corporate site built with Next.js + microCMS
Illustration (not an actual screen): our own case study, a before-and-after of a corporate site built with Next.js + microCMS

Steps ④ and ⑤: Integration, Testing, and Deployment

Achieving “Update → Automatic Publishing” with Webhook Integration

This is the single most important point of a Next.js + microCMS setup.

You set things up so that when content is updated in microCMS, a notification saying “the content has changed” is sent to Vercel (the hosting service), and the site is automatically rebuilt.

As a diagram, the flow looks like this:

[The web manager updates an article in microCMS]
    ↓ Webhook notification
[Vercel automatically starts a build]
    ↓ Tens of seconds to a few minutes
[The live site is updated with the latest content]

With this mechanism, the web manager just presses the “Publish” button in the microCMS admin screen and can update the site without any programming knowledge.

Flow diagram showing microCMS notifying Vercel via a Webhook, followed by an automatic build and deployment
Flow diagram showing microCMS notifying Vercel via a Webhook, followed by an automatic build and deployment

Updates Not Showing Up Right Away? Understanding “Caching” in microCMS and Vercel

“I pressed the update button in the microCMS admin screen, but the site still looks the same.” This is a common stumbling block with Next.js + microCMS. The cause is that Next.js caches (stores for a certain period) the data it fetches with fetch() by default. The Webhook integration described above is actually just one way of clearing this cache.

  • Full build (the Webhook → automatic Vercel rebuild explained earlier) ── It rebuilds the entire site, so it’s reliable, but on sites with many pages it tends to take longer for changes to appear
  • On-demand ISR (revalidateTag / revalidatePath) ── This method uses functions in Next.js dedicated to clearing the cache, discarding the cache only for the pages that were updated. You point microCMS’s Webhook notification to a Next.js API Route (Route Handler) and call these functions inside it
// app/api/revalidate/route.ts (endpoint that receives microCMS Webhook notifications; illustrative)
import { revalidateTag } from 'next/cache';
import { NextResponse } from 'next/server';

export async function POST() {
  revalidateTag('news'); // Clear the cache for the relevant API only
  return NextResponse.json({ revalidated: true });
}

Which one to choose depends on update frequency and page count. When updates are infrequent and there aren’t many pages, as with a small or medium-sized company’s corporate site, a full build is perfectly practical. In cases where the news section is updated daily or there are many pages, it’s worth using on-demand ISR to speed up how quickly changes appear.

Note that a Next.js app running on Vercel holds this fetch() cache in a mechanism called the Data Cache. Behavior can differ in a local development environment, so for display problems that seem to be caused by caching, it’s most reliable to check them in the production (Vercel) environment.

Deploying to Vercel

Vercel is a hosting service run by the company that develops Next.js. Since it works best with Next.js, choosing Vercel is the best option unless you have a specific reason not to.

The deployment (publishing) procedure is simple.

STEP
Upload the source code to GitHub
STEP
Connect the GitHub repository in Vercel
STEP
Set up a custom domain
STEP
The SSL certificate (HTTPS) is set up automatically

Once it’s set up, from then on the site updates automatically whenever you push code to GitHub.

Vercel’s costs are covered in detail in a related article.

→ Related article: Vercel + Next.js Hosting Costs: Running Costs for Small and Medium-Sized Businesses

What to Check During Testing

Before launch, be sure to check the following points.

Check itemWhat to confirm
Page speedAim for a score of 90 or higher in PageSpeed Insights
Responsive designCheck the display on smartphones, tablets, and PCs
OGP settingsWhether the title and image are correct when shared on social media
Form behaviorTest sending and receiving through the contact form
microCMS integrationWhether content updates → automatic publishing works correctly
404 pageThe error page shown when someone visits a URL that doesn’t exist
Illustration (sample figures): data showing PageSpeed scores for a site built with Next.js + microCMS
Illustration (sample figures): data showing PageSpeed scores for a site built with Next.js + microCMS

Realistic Guidelines for Cost and Timeline

Typical Production Costs

Here are cost guidelines for outsourcing a Next.js + microCMS corporate site.

Site sizeEstimated costTimeline
5 pages (small)800,000–1,500,000 yen1–1.5 months
10 pages (medium)1,500,000–3,000,000 yen1.5–2.5 months
15+ pages (large)3,000,000–5,000,000 yen2–4 months

Compared with WordPress, it costs 2 to 3 times as much. The difference comes from the extra work of building everything through programming without using templates.

Breakdown of Monthly Running Costs

ItemCost
Vercel (hosting)About 2,600 yen/month (Pro $20)
microCMS0–4,900 yen/month
Maintenance and upkeep5,000–15,000 yen/month
TotalAbout 7,600–22,500 yen/month

If You’re Thinking “Wouldn’t WordPress Be Fine?”

To be honest, that judgment is often correct. For a corporate site of around 5 to 10 pages that’s updated only a few times a month, WordPress is enough.

Next.js + microCMS is a good fit in cases like these:

  • Businesses where page speed directly affects sales
  • Industries with strict security requirements
  • Plans to expand into a web application in the future
  • A focus on branding that requires a completely original design

→ Related article: WordPress vs. Next.js: Which Is Best for a Corporate Website?

→ Related article: The Benefits of Building a Corporate Site with Next.js: How It Differs from WordPress


Summary: Next.js + microCMS Is “a Sound Choice” but “Not a Cure-All”

Key Points from This Article

  • Next.js + microCMS is a setup that delivers all three: “fast,” “secure,” and “easy to update”
  • microCMS is made in Japan, and content can be updated intuitively through a Japanese-language admin interface
  • The build process consists of 5 steps: “planning → microCMS setup → Next.js development → integration and testing → deployment”
  • Costs are 2 to 3 times those of WordPress, and monthly running costs are about 7,600 to 22,500 yen
  • It isn’t the best fit for every company; choosing technology that matches your business requirements is what matters

If You’re Unsure Which Technology to Choose

I build corporate websites with both WordPress/Swell and Next.js/microCMS. If you’re thinking “I don’t know which one suits us,” I’ll propose the best setup for you after a consultation.

What matters isn’t choosing the trendy technology, but choosing the technology your business truly needs.

→ Related article: Website Production Costs: A Complete Guide to Avoid Overpaying


Web制作・システム開発は
First CHにお任せください

「こんなWebサイトが欲しい」「このシステムは実現できる?」——
現役エンジニアが直接お話を伺い、最適な進め方をご提案します。

「まだ構想段階」「費用感だけ知りたい」というご相談も歓迎です。

Share this article
Contents