Skip to content

Latest commit

 

History

History

docs

README.md

fluo Docs Hub

Use this map to find APIs, support boundaries, and behavioral contracts for your task. Start with the quick start to run your first app, or the Book to learn by building a product. Website documentation is English-only; repository documentation is maintained in English and Korean.

Choose a reading path

Your goal Start here What you will find
Write or review code with AI AI context Constraints -> contract reference index and the ownership table/package chooser below -> owning contract -> implementation, tests, and execution evidence.
Learn backend design through a product Three-volume series Seventy-two chapters from FluoBlog to a merchandise shop to Fluo internals.
Check the first HTTP feature quickly FluoBlog exercise An executable companion for initial routing, DI, and validation.
Add a feature to an existing app Task guides Focused instructions and capability choices; not a second beginner course.
Understand framework implementation Volume 3: Inside Fluo A deeper course tracing the two products through source and contracts.
Check an API or supported behavior Package chooser Owning package READMEs and shared behavioral contracts.
Run or compare working code Examples Executable applications, including the tutorial checkpoints.

The index is a small pilot reference index linking documentation authority, bootstrap, and lifecycle topics to their owning EN/KO documents and source/test paths. It does not replace contract text or establish full 43-package coverage or semantic/behavioral correctness. For contracts not yet indexed, use the ownership table and package chooser below.

Deno support is Removed (every published @fluojs/platform-deno version is deprecated; final release 2.0.2). Use the Deno migration guide to move an existing Deno app, and the runtime support matrix to choose a host for a new app.

Source ownership

This directory contains governed repository documentation for fluo. The official website source now lives in apps/docs and uses Fumadocs to publish an English-only documentation surface.

Docs is the normative framework contract layer for AI; the Book is the human product narrative derived from those same contracts. The documentation authority policy defines ownership, concise Markdown contract fields, conflict resolution, and change order. Package READMEs are delegated package API owners within this layer. They retain installation, public imports, essential usage, defaults, and guarantee summaries and link shared contracts without duplicating API bodies into docs/.

Subject Maintained source Other surfaces
The complete product/pattern learning path book/series.json and the three new volumes The Book is the primary human learning path, deriving framework facts from Docs contracts; the website and root README route readers to its volumes and chapters.
Initial HTTP exercise instructions apps/docs/content/docs/tutorial/ A companion for checking the first routing, DI, and validation path, not a replacement for the entire book.
Tutorial checkpoint behavior examples/fluo-blog/ source and tests Lessons explain the same files and observable results in EN/KO.
Package API and package-specific limitations The owning packages/*/README.md and its Korean companion Guides give a selected use case and link to the full contract.
Persistence after-commit work Transaction Context Contract; APIs in Prisma, Drizzle, and Mongoose Books and the website explain cache invalidation and failure recovery without adding Redis commit tracking, DB+Redis atomicity, or durable delivery guarantees.
Cross-package runtime and architecture promises The relevant docs/contracts/ or docs/architecture/ pair Package READMEs and Book explain their application without redefining them.
Runtime coverage and toolchain support docs/reference/package-surface.md and toolchain-contract-matrix.md Summaries link to the tables rather than maintaining separate inventories.
AI navigation docs/CONTEXT.md and its Korean companion A route to the owning documents, not a second tutorial.

When sources disagree, check the owning implementation, tests, and maintained contract together. Resolve the disagreement in the owning document before updating its summaries; do not silently change a behavioral promise while reorganizing prose.

Determine whether a discrepancy is a documentation error or an implementation regression instead of reducing a documented guarantee to match the implementation. Obtain approval for public behavior changes separately from documentation reorganization. Book app policies such as currency and post/order states are not framework guarantees. These authority rules preserve existing contracts, links, and checker dependencies; they do not declare complete package or chapter migration.

Official website source

  • App: apps/docs
  • Content: apps/docs/content/docs
  • English-only website file check: pnpm docs:sync-check
  • Full docs verification: pnpm verify:docs

Canonical repository docs

The website should link to these canonical files when a page summarizes governed package or runtime facts instead of duplicating the source of truth.

Contributing to documentation

Start with the root CONTRIBUTING.md for local setup, verification commands, and the PR process. Documentation changes should also follow these repository-specific checks:

  • Keep English and Korean counterparts synchronized for repository docs and Books. The website is English-only; redirect old localized URLs to /docs.
  • Run pnpm docs:sync-check to reject translated website files. Repository translation review remains separate.
  • Run pnpm verify:docs when changing the website source in apps/docs or docs content consumed by the website.
  • For tutorial changes, run the checkpoint tests and follow the changed lesson against its starting state. A passing final example alone does not prove that intermediate instructions work.
  • Follow Docs contract establishment -> evidence verification -> Korean Book application -> English alignment -> handoff. Initial authoring reviews the entire Korean edition before translation; existing Book corrections finalize and freeze the whole affected Korean set, including dependent chapters, before English translation.
  • Each mergeable increment contains the finalized Korean set and its English companions, without untranslated drafts or parity exemptions. Use pnpm book:check:ko during Korean authoring and pnpm book:check for bilingual increments.
  • Review EN/KO commands, file paths, defaults, limitations, and expected responses together. The separate platform governance gate checks selected contract structures; neither structural check replaces this review.
  • If a document describes package behavior, verify the affected package README and contracts/behavioral-contract-policy.md still agree.
  • If a public-package behavior or API change requires release notes, record release intent with a .changeset/*.md file instead of editing generated changelog artifacts by hand.
  • A pre-existing issue is helpful but not mandatory for focused documentation PRs. If there is no issue, use the PR summary to explain the problem, source context, and intended outcome.