DummyDB
We plan to make you interact with your database
The problem DummyDB solves
DummyDB is an AI-powered agent that lets non-technical users query a database using natural language without writing SQL. Built using Next.js, TailwindCSS, shadcn-ui, and Anthropic’s Claude API, this project focuses on simplicity, speed, and user-friendly design. Just ask a question like “Who were my top customers last month?” and DummyDB will generate and execute the SQL query behind the scenes, returning accurate, clear results in real time.
Challenges we ran into
Mid-Hackathon Hurdles We (Barely) Survived
Hackathons are basically sleep-deprived marathons where your code breaks, your backend disappears, and your idea changes three times before you’ve finished your coffee.
Here’s what went horribly wrong (and how we duct-taped it back together):
The Great Mid-Hack Pivot™
We thought we were going to build a decentralized voting app — sounds fancy, right?
12 hours in:
- It was way too ambitious. Like, “we-need-a-PhD-and-a-week” ambitious.
- Our crucial API decided to ghost us like an unreliable ex.
So... we panicked, regrouped, and came up with something simpler and cooler:
A Chrome extension that summarizes articles using AI.
Still cool. Still techy. And actually possible within 24 hours.
Bug #1: React Decided to Disappear
Error: Cannot find module 'react' in use_mobile.tsx
Us: "Wait… isn't React supposed to just work??"
Root cause: Our folder structure was a hot mess. Webpack was like “nope.”
Fix: We moved files around like a Jenga tower, fixed some alias imports, restarted the dev server — boom, React came back like it never left.
Bug #2: The API Strikes Back
Symptoms:
fetch()was failing like it forgot how the internet works.- Sometimes the backend wasn’t even awake when the frontend called it.
Fixes:
- Enabled CORS (shoutout to Stack Overflow).
- Added loading states so the frontend stopped acting needy.
- Wrapped everything in
try/catchlike a warm error-handling blanket.
Lessons from the Code Trenches
- Pivot early — better to change ideas than cry over broken dreams.
- CORS will find you. Always. Be ready.
- “Small bugs” are never small at 3 AM.
- Postman mocks and caffeine = MVPs.
Technologies used