Public
LikeRecipes
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.
Viewing readonly version of main branch: v61View latest version
Hono-based API server for the Meals recipe management application.
index.ts - Main HTTP val entry point
backend/
βββ index.ts # Hono app setup and route mounting
βββ database/
β βββ migrations.ts # SQLite table schemas
β βββ queries.ts # Database query functions
βββ routes/
βββ *.ts # API route modules
GET /api/health- Returns server status
GET /api/recipes- List all recipesGET /api/recipes/:id- Get recipe detailsPOST /api/recipes- Create recipeDELETE /api/recipes/:id- Delete recipe
POST /api/ingest- Extract recipe from URL using AI
POST /api/shopping-list- Generate shopping list from recipes