Final-year project · HubZero Build

QueryCraft

Final-year project · retired

A natural-language database querying app: plain English in, SQL or NoSQL queries out, generated by locally hosted Qwen and Mistral models through Ollama.

A three-person final-year project, later kept as a HubZero Build. I was the primary technical contributor.

Role
Primary technical contributor, three-person team
Period
Aug 2025 – Jan 2026
Stack
Next.js · Node.js · Express · MongoDB · Python · Ollama (Qwen, Mistral)

The team

QueryCraft was my final-year engineering project, built by a team of three. I was the primary technical contributor: the conversational interface, generation through locally hosted models, validation before execution, execution safeguards and the self-hosted inference setup.

The interesting part is after generation

Getting a model to emit something that looks like SQL is easy. A model will also produce queries that are syntactically valid but wrong or unsafe, and unlike a chat reply, a query has consequences when it runs. So generation was treated as a proposal: each query came back with an explanation in a card, and nothing ran until the user chose to execute it.

The safeguards, precisely

  • A validation step ran before execution and blocked destructive statements.
  • That check ran in the client and matched patterns rather than parsing the query, and database connections were not restricted to read-only accounts.
  • That is a prototype's level of protection, and a later review of the original code recorded the same gaps. I describe it here as what it was.

Local inference by choice

Generation ran on open models (Qwen and Mistral) through Ollama on hardware we controlled, rather than through a hosted API. With smaller models there is nowhere to hide a weak prompt or a missing check, which made the constraint instructive.

HubZero later rebuilt QueryCraft as a separate production codebase. That rebuild is not the final-year project and is not described here as my work.

Jump to a page or action

Home
Current project statusWhat is released, in alpha or in development
Selected work
Experience
Smaller builds
Education
Contact
ArchiveEarlier and academic projects
NexusPrivate alpha · active development
Atlasv1.0.3 released · not in active development
RefluxPre-release · source-available, not open source
ExtendSpaceIn development · Connect still disabled
Bhatkal Time LuxeDelivered · HubZero's first paid client project
QueryCraftFinal-year project · retired
BlueTapPre-release · foundation complete
Layers by RSXPre-release · no public release
Copy email addressrifaque.rs@gmail.com
Open resume (PDF)
Open GitHub profilegithub.com/Rifaque
Open LinkedIn profile

20 results · ↑↓ to move · Enter to open