Skip to content
This repository has been archived by the owner on Jun 15, 2024. It is now read-only.


Repository files navigation

Instant blog post form

Blog post form for

Page screenshot


Required write environment variables in .env file when submit articles to microCMS.

key value
X_MICROCMS_API_KEY Authentication key for microCMS API requests.
X_MICROCMS_API_SUB_DOMAIN Sub domain of microCMS. X_MICROCMS_API_SUB_DOMAIN is the <service-id> part of <service-id>
X_MICROCMS_API_NAME API name of microCMS. X_MICROCMS_API_NAME is the <endpoint> part of api/v1/<endpoint>.

.env Example:


API Schema

The format of microCMS API schema for this blog:

export type ApiSchema = {
  title: string;
  body: string;
  slug: string;
  categories?: string[];
  tags?: string[];
  excerpt?: string;
  heroImage?: {
    url: string;
    width: number;
    height: number;


Launch development server:

npm run dev

Execute build:

npm run build

Run test runner:

npm test