Track magical mishaps and spooky shenanigans of an enchanted kitten. This project is now powered by TanStack Start and deployed on Cloudflare Workers.
- Production: https://purranormal-activity.workers.dev
- Framework: TanStack Start + TanStack Router
- Runtime/Deploy: Cloudflare Workers
- Build tool: Vite
- Language: TypeScript
- DB: Turso + Drizzle ORM
- Styling: Tailwind CSS
- Lint/format: Biome
- Node.js
22.x pnpm
- Install dependencies:
pnpm install- Create local env file:
cp .env.example .env- Fill
.envwith required values.
Run dev server (keeps current project behavior with patch version bump):
pnpm devIf you need to skip the automatic version bump, run Vite directly:
vite devDefault local URL is shown in terminal (typically http://localhost:3000).
pnpm lint- run Biome checkspnpm format- format codepnpm lint:fix- apply Biome fixespnpm build- production build (TanStack Start / Vite)pnpm preview- preview built app locallypnpm cf-typegen- generate Worker env types from Wrangler configpnpm deploy- build and deploy to Cloudflare Workers (no manual pre-build required)
- Project config:
wrangler.jsonc - Deploy script uses generated build config:
dist/server/wrangler.json - Worker name:
purranormal-activity
Manual deploy alternative:
pnpm run build:start
wrangler deploy --config dist/server/wrangler.jsonDry-run deploy:
wrangler deploy --dry-run --config dist/server/wrangler.json//explore/new/:id/:id/edit/api/*internal routes
See: wiki/manual-test.md
MIT. See LICENSE.
