Hack the Hill · 60 min
Build
Follow along · all the links
hth-talk.byaditya.com ↗
Build
with AI.
Follow along · all the links
hth-talk.byaditya.com ↗
Next.js → Worker → D1
Save
ideas.
Try it.
Idea board
- Campus food map
- Study buddy finder
Saved in this browser
Browser
→Next.js UI
→Worker
→D1
Next.jsUI + routes
app/page.tsx → /WorkerHTTP API
GET /ideas · POST /ideasD1SQL database
idtitle
1Campus food map
2Study buddy finder
AI in
the loop.
OpenAI
Codex
codexExplain this app.
Read → Edit → RunGitHub
Copilot
Ask → AgentAdd a character counter.
Review → Try itContext
→Task
→Checks
Plan this app.
FilesStepsRisks
Read
the diff.
InputsSQLErrors
Error
→Hypothesis
→Test
Let’s
build.
Worker:8787
Next.js:3000
CREATE TABLE ideasidtitle
npm run db:migratelocal D1env.DB→D1GET
/ideasPOST
/ideasINSERT INTO ideas (title)VALUES (?)fetch(API + "/ideas")→IdeaBoarduseState()→+
Add
→Refresh
→Still there.
Local
→Cloudflare