No description
- TypeScript 98%
- JavaScript 0.8%
- Dockerfile 0.4%
- Shell 0.3%
- Python 0.3%
- Other 0.2%
|
|
||
|---|---|---|
| .claude | ||
| .devcontainer | ||
| .forgejo | ||
| app | ||
| core | ||
| docs | ||
| migrations | ||
| public | ||
| workers | ||
| .dev.vars.example | ||
| .editorconfig | ||
| .eslintignore | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .graphqlrc.js | ||
| .npmrc | ||
| .prettierignore | ||
| CLAUDE.md | ||
| drizzle.config.ts | ||
| package-lock.json | ||
| package.json | ||
| react-router.config.ts | ||
| README.md | ||
| renovate.json | ||
| shopify.app.dev.toml | ||
| shopify.app.toml | ||
| shopify.web.toml | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
| vite.dev-env.test.ts | ||
| vite.dev-env.ts | ||
| vitest.config.ts | ||
| worker-configuration.d.ts | ||
| wrangler.jsonc | ||
C-SOL Roast Schedule
Embedded Shopify app for the C-SOL Roastery. It turns unfulfilled orders into a roast schedule: it maps products to green beans, accounts for roast loss, and splits the green weight into batch-sized roasts.
Built on the Shopify React Router app template on Cloudflare Workers (Vite plugin) with D1 + Drizzle and Polaris web components.
Development
Open the repo in the devcontainer (.devcontainer/). It installs Node 22, the Shopify CLI and Claude Code.
npm ci
npm run dev # shopify app dev — applies local D1 migrations, runs the Worker in workerd; log in, then press P
Checks:
npm run lint
npm run typecheck
npm test
Deployment
npm run deploy # pushes app config (shopify.app.toml) to Shopify
The app deploys as a Cloudflare Worker (wrangler deploy, CI step still to come; see docs/ARCHITECTURE.md section 8). Local env: copy .dev.vars.example to .dev.vars when running without the Shopify CLI.
See CLAUDE.md for architecture notes and conventions.