Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Recipe saving, grocery lists, and meal planning. Full-stack Val Town app: Hono API on Deno + hosted SQLite, React 18 frontend served as transpiled modules (no build step).
backend/
index.ts # Hono entry point (HTTP val)
routes/ # /api/* route modules
services/ # nutrition calculator, USDA FDC client
database/ # migrations + query functions (SQLite)
middleware/ # session auth
frontend/
index.html, index.tsx
components/ # React views
shared/
types.ts # types shared by frontend + backend
legacy-vite-prototype/ is the original Magic Patterns Vite mockup, kept for
reference only. It is not part of the deployed app and is excluded from vt push
via .vtignore.
This repo is a vt clone of the val, so it doubles as the Val Town working tree:
vt status # diff local vs deployed vt push # deploy local changes to the val vt pull # pull changes made in the Val Town web editor vt watch # auto-sync on save
Standard git is used for version history on top of that.