@kody/example-habit-log
A small habit log app built from the app starter: indigo theme, mobile layout, sign-in, and saved entries.
Files
Habit log
An example Kody package app: a habit log, built from @kody/app-starter. It shows the starter defaults in a finished, small app: a custom theme in light and dark, a mobile layout, accessible forms, loading and error states, and daily entries saved per signed-in person.
Built with TanStack Router, TanStack Query, and TanStack Form, rendered on the server and hydrated in the browser.
No build step
This starter works with no local build step. Kody bundles the source files when you publish, so an agent with only Kody tools can fork it, edit it, and republish it without a sandbox or build environment. Keep it that way: write plain source files and leave out bundler config, build scripts, and TanStack Start.
Prerequisites
- A Kody account and the Kody CLI (
npx @kodycodes/cli login).
Setup
- Fork this package (
communityFork) into your org. - Run
npm install, thennpm run devand open the printed URL. - Change
app/content/site.ts(names and copy),public/tokens.css(colors, type, spacing), and add pages underapp/routes.
Done when
- Every page reads well on a phone and a laptop, in light and dark.
- Signed-in visitors can add and delete daily entries.
kody app checkpasses when it is available.