• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
project logo

drewmcdonald

Recipes

A simple recipe manager with AI recipe ingestion
Public
Like
Recipes
Home
Code
15
.claude
2
.playwright-mcp
8
backend
4
docs
1
frontend
4
shared
2
.gitattributes
.gitignore
.mcp.json
.vtignore
AGENTS.md
CLAUDE.md
README.md
deno.json
ralph.sh
Environment variables
1
Branches
1
Pull requests
Remixes
History
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.
Sign up now
Code
/
backend
/
database
/
README.md
Code
/
backend
/
database
/
README.md
Search
…
Viewing readonly version of main branch: v72
View latest version
README.md

Database

This directory contains database schema and query modules for the meals app.

Files

  • migrations.ts - Schema definitions and table creation
  • queries.ts - CRUD operations for recipes, ingredients, and instructions

Tables

recipes_v1

Stores recipe metadata including title, source URL, servings, and timing.

ingredients_v1

Stores recipe ingredients with quantity, unit, and notes. Linked to recipes via recipe_id.

instructions_v1

Stores recipe steps in order. Linked to recipes via recipe_id.

Usage

Migrations run automatically on backend startup via runMigrations(). The function uses CREATE TABLE IF NOT EXISTS so it's safe to call multiple times.

To modify a schema, create a new table version (e.g., recipes_v2) rather than using ALTER TABLE, which has limited support in Val Town's SQLite.

FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2026 Val Town, Inc.