Qoodish 網頁軟體
AI 翻譯
Qoodish web app
正在載入完整 README。 以下為已儲存的摘錄。
.env.example lists every variable the app reads. Copy it to .env.local
and fill in the values, or decrypt the shared set:
.env files are ignored by git, so never commit one.檢視完整 README ↗This repository is a pnpm workspace of four Cloudflare Workers under apps/ and one shared package under packages/:
api: the API, a Hono app that keeps its records in D1 through Drizzle ORMweb: the web app, a Next.js app deployed through OpenNextadmin: the moderation dashboardsynthetics: scheduled checks against productionapi-contract: the JSON shapes of the API's responses, shared by the API and the apps that call itEach app's README covers how to run, test and deploy it.
pnpm install
From the repository root:
pnpm lint # Biome, across the repository
pnpm typecheck # TypeScript, in every workspace
pnpm test # unit tests, in the workspaces that have them
Pull requests run all of these in CI, along with the web app's smoke tests.
Cloudflare Workers Builds deploys every worker from master, so a merge is the release. The workers deploy at the same time, in no guaranteed order, so a change in one worker that relies on a change in another being live is split into separate pull requests, and the one that relies on it is merged only after the other is deployed.