Nihonest

Source-linked guidance for moving to and living in Japan, with structured discovery, route-aware journeys, and optional account continuity.

A Next.js information application that brings guides, Japanese terminology, FAQs, residence-status information, and municipal supplements into one validated content system. A separate local CMS supports editorial changes. The project is hosted on Vercel and in active development.

At a Glance

Distinguishing Approach
One canonical content system connects source references, discovery, journeys, and local guidance while keeping access independent of account creation.
Role
Product planning / Content direction / UI direction / Technical direction / Implementation review
Implementation
AI-assisted development
Current State
Active development

Hosted on Vercel and in active development. Qualified editorial and translation review and a CMS screen-reader walkthrough are still pending.

Ownership and Review

Planning and documentation were developed with ChatGPT before implementation. Content direction, UI choices and implementation decisions were set and reviewed throughout. AI assisted research, implementation, translation and refactoring: Codex drafted article research and English copy, and Codex and Claude reviewed the implementation and articles.

Architecture checks across 677 production modules, TypeScript checking and 18 targeted tests pass. Browser-flow, database and performance testing are not yet part of the verification.

Year
2026
Type
Information web application / Editorial tooling
Languages
TypeScript
Frameworks & Libraries
Next.js, React, Zod, Tailwind CSS
Tools & Platforms
MDX, Supabase, PostgreSQL
Capabilities
Product & UI Engineering, Full-Stack Development, System Architecture, Data Modeling, Localization, Security, Developer Tooling, Testing / Quality Engineering, Technical Documentation
Nihonest's English homepage with its introduction, Find my starting point action, optional personalization panel, and clarity, sources, and access principles.
The live homepage introduces public guidance and optional personalization. Captured October 8, 2026.

Connect general explanations to the right process

Moving to Japan involves administrative processes that depend on a person's route, residence status and location. A collection of independent articles can explain individual topics while still leaving readers to work out their sequence and local differences.

Nihonest responds with source-linked guidance that stays open to everyone: reading never requires an account, and each explanation connects to its sources, Japanese terminology and the responsible authority.

One validated content system with several ways in

Guides, Japanese administrative terms, FAQs, residence-status information and municipal supplements live in one content system. English MDX articles and typed registries are checked for IDs and relationships before they reach public routes.

Readers can search groups, guides, FAQs and glossary terms in one query, follow a journey for their route, or add guidance for their municipality. Optional accounts carry preferences and progress between devices, and a separate local CMS supports editorial changes.

Search for juminhyo with result-kind controls and matches across groups, guides, and glossary terms.
One search joins groups, guides, FAQs and glossary terms under a single query.

Key decisions

Resolve a route into one reading sequence

Context

A journey can include shared steps, conditional steps and alternative routes. Presenting every alternative as a sequential task would make the path misleading.

Decision

The journey model distinguishes route-choice placeholders from ordinary steps. A selected route resolves the placeholder to its canonical guide and includes only steps scoped to that route; conditional steps keep their applicability labels.

Tradeoffs

The route model is a navigation aid, not an eligibility check: readers still confirm applicability with the responsible authority, and content changes must keep route and article references valid.

Mobile Student journey showing the selected long-term study route and reading sequence.
The student-status route selected on mobile. Route selection guides reading; it does not determine eligibility.
A mobile journey phase marks working part-time as conditional with an applicability label.
The same route keeps conditional steps and their Editorial Review label.

Keep translations attached to the canonical source

Decision

English is the canonical source. Japanese overlays are cached derivatives addressed by source, prompt and terminology revisions, with fallback behavior and protected terminology constraining what reaches public pages.

Tradeoffs

Japanese text is machine-assisted and has not yet had qualified review, so the English source stays authoritative.

Separate canonical content, personal state, and editorial tooling

Nihonest content and state boundaries

Repository content is validated before public rendering. Browser preferences remain local until an optional account syncs selected state through Supabase. The local CMS edits repository files but is not a public route.

  • English MDX and typed repository records
    • connects to Zod and cross-reference validationparsed and checked
  • Zod and cross-reference validation
    • connects to Next.js public routesrenders
    • connects to In-memory search indexindexes
  • In-memory search index
    • connects to Next.js public routesdiscovery results
  • Next.js public routes
  • Revision-addressed Japanese overlays
    • connects to Next.js public routesJapanese text with fallback
  • Anonymous browser preferences and progress
    • connects to Next.js public routesanonymous personalization
    • connects to Optional validated account syncoptional snapshot
  • Optional validated account sync
    • connects to Supabase owner-scoped tables and functionsvalidated RPC
  • Supabase owner-scoped tables and functions
  • Loopback editorial CMS
    • connects to English MDX and typed repository recordsguarded local file edits

English MDX and typed repository records pass through Zod and cross-reference validation before Next.js renders them. An in-memory index supplies search, and Japanese overlays stay tied to source and terminology revisions.

Personal state stays in the browser unless an optional account syncs it to owner-scoped Supabase tables. The loopback CMS edits repository files outside the public application.

Add local differences without implying universal coverage

Challenge

National guidance leaves readers with municipality-specific questions, while a partial local catalog risks looking more comprehensive than it is.

Response

Municipal supplements add researched local differences with source and recheck context. Locations without a researched supplement fall back to general advice instead of showing an implied local guide.

Current Result

Local variation has a place, and gaps stay visible. Keeping supplements current remains an editorial responsibility.

Native prefecture and municipality selectors show a Shinjuku local supplement and its responsible body.
Tokyo and Shinjuku selected. The local supplement is still marked Editorial Review.

Engineering details

Route resolution in the domain model, the guarded editorial CMS, account synchronization, and the checks that verify them.

Read Implementation Details

Route resolution stays in the domain model. resolveJourneySteps turns a journey and a selected route into one reading sequence using the typed journey model and getJourneyRouteById, so route rules never live in page layouts.

The editorial CMS runs outside the public application. Its writes check the expected revision and a clean starting file, validate content on the server, and require a local origin and session token. Approval is tied to an exact revision and an immutable record, and the CMS previews changes without publishing the application.

Optional account synchronization validates selected state before sending it through Supabase functions to owner-scoped tables; anonymous preferences and progress stay in browser storage.

Architecture checks across 677 production modules, TypeScript checking and 18 targeted tests pass, covering content, search, account synchronization and the CMS production boundary. Browser flows, database tests and performance measurements are not yet part of the verification, and the database policies and CMS protections have not had a security audit.

Resolve one journey route into a reading sequence
export function resolveJourneySteps(journey: GuidedJourney, routeId?: string): readonly ResolvedJourneyStep[] {
  const route = getJourneyRouteById(journey, routeId);
  // Route choices replace one placeholder with one canonical guide; alternatives must never become sequential steps.
  return journey.phases.flatMap<ResolvedJourneyStep>((phase) => phase.steps.flatMap<ResolvedJourneyStep>((step) => {
    if (step.type === "route-choice") {
      return route ? [{ phaseId: phase.id, phaseTitle: phase.title, articleId: route.articleId, requiredness: "required" as const, isRouteSelection: true }] : [];
    }
    if (step.routeIds && (!route || !step.routeIds.includes(route.id))) return [];
    return [{ phaseId: phase.id, phaseTitle: phase.title, articleId: step.articleId, requiredness: step.requiredness, conditionLabel: step.conditionLabel, isRouteSelection: false }];
  }));
}

Result

Nihonest brings public guidance, cross-collection search, route-aware journeys, Japanese terminology and local supplements into one content system, without making an account a prerequisite for reading.

It is hosted on Vercel and in active development. Qualified editorial and translation review, a CMS screen-reader walkthrough and broader testing are the next steps.