Skip to content

Fetch ideas from D1 database#11

Open
csiber wants to merge 13 commits into
mainfrom
codex/replace-mock-data-with-d1-query
Open

Fetch ideas from D1 database#11
csiber wants to merge 13 commits into
mainfrom
codex/replace-mock-data-with-d1-query

Conversation

@csiber

@csiber csiber commented Aug 1, 2025

Copy link
Copy Markdown
Owner

Summary

  • create lib/db util for D1 access
  • query ideas table instead of returning dummy data

Testing

  • pnpm lint
  • pnpm build (fails: Route "src/app/api/ideas/[id]/comment/route.ts" has an invalid "POST" export)

https://chatgpt.com/codex/tasks/task_e_688d41034aac8325a8eeb6aa02cd351f

@csiber csiber force-pushed the main branch 3 times, most recently from 3460e38 to c845b33 Compare August 3, 2025 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant