Developer Guide
Repository layout
Section titled “Repository layout”apps/api/ API Worker (Hono, D1, R2)apps/admin/ Admin SPA (React, Vite)packages/database/ Drizzle schema, migrationspackages/contracts/ Shared Zod API contract (published to npm)packages/create/ @kenresoft-cms/create CLIintegrations/astro/ @kenresoft-cms/astroexamples/astro-site/ Reference Astro sitedocs/ Repository design docswrangler.toml Root Worker configLocal development
Section titled “Local development”pnpm installcp .dev.vars.example .dev.vars # set the local Better Auth secretcp apps/admin/.env.example apps/admin/.envpnpm --filter @kenresoft-cms/database migrate:localpnpm devAPI: http://localhost:8787Admin: http://localhost:5173Run either alone with pnpm --filter @kenresoft-cms/api dev or pnpm --filter @kenresoft-cms/admin dev.
Work on the develop branch or a feature/* branch; main is reserved for release promotion.
Deeper design documents live in the repository’s docs/ folder (ARCHITECTURE.md, PLUGINS.md, SITE_BUILDER.md). Plugins and the plugin SDK are documented there and are not yet covered on this site.