A full-stack multi-language CMS built with MoonBit, moonback and async.
git clone https://github.com/liuzhiyug/moonbit-multilang-cms.git
cd moonbit-multilang-cms
moon update
moon fmt --check
moon check --deny-warn
moon test --deny-warn --target nativemoon run cmd/main| Route | Purpose |
|---|---|
| GET / | Localized article index; use ?lang=en, ?lang=zh, or a cookie for locale selection. |
| GET /article?id=<id> | Localized article detail page. |
| GET /editor | Article editor page. |
| POST /api/articles | Creates an article from form fields title, author, content, and locale. |
cmd/main reference HTTP application and routing
src/core content domain, workflows, rendering, storage, operations
src/db deterministic in-memory article store and seed data
src/i18n locale dictionaries and translation lookup
src/templates server-rendered HTML views
benchmarks reproducible local measurement notesmoon fmt --check
moon check --deny-warn
moon test --deny-warn --target native
moon info
git diff --checkInstall
Download zipA full-stack multi-language CMS built with MoonBit, moonback and async.