Laptop icon

Show your projects

Get inspired by amazing projects, find your startup idea

Trae- Data- Analytics

- This project is a full-stack analytics app that lets a user ask questions in plain English and get data back from a local SQLite database.- The backend is a Node.js + Express API that reads CSV datasets, builds a SQLite database, generates SQL from natural-language questions using Groq, validates the SQL, runs it, and returns formatted results.- The frontend is a React + Vite app styled with Tailwind CSS that sends questions to the backend and shows the returned SQL, table results, and basic chart output.- The data layer is built from CSV files in backend/src/database/csv , which are imported automatically into nf_buildathon.db using sql.js .- The main goal of the project is to act like an AI-powered data query assistant for the provided dataset.- It is currently set up for local development, with the backend running on port 5001 and the frontend calling the query API at http://localhost:5001/api/query .

NF QueryGPT

NF QueryGPT is an AI-powered database assistant that enables users to query business data using natural language in English or Hinglish. The system converts user questions into optimized SQL queries, executes them on a read-only SQLite database, and presents results as tables, metrics, or charts. It understands relationships across multiple database tables, displays generated SQL for transparency, and handles ambiguous requests by asking clarifying questions. Built with safety-first principles, QueryGPT prevents any data modification operations while making data analytics accessible to non-technical users.

NF QueryGPT

  NF QueryGPT is an AI-powered natural language-to-SQL assistant built for NikahForever (a matrimonial platform). Its primary purpose is to allow non-technical team members—such as Product Managers, Customer Support, Operations, and Founders—to ask business-related questions about database data in plain English or Hinglish (e.g., "How many users registered from Delhi this month?") and receive instant visual results and data analysis without needing to write SQL or wait hours for a data analyst. All AI-generated SQL queries are verified on the server before execution. The validation layer (lib/sql-validator.ts) blocks potentially harmful commands such as INSERT, UPDATE, DELETE, DROP, ALTER, TRUNCATE, REPLACE, CREATE, GRANT, REVOKE, EXEC, EXECUTE, and VACUUM. Only read-only queries using SELECT or WITH are allowed. Query Protection Execution Timeout: Queries are automatically cancelled after 10 seconds using AbortController, preventing long-running or stuck operations. Row Limit: Query responses are restricted to 100 rows by default (MAX_ROWS_RETURNED) to avoid excessive data transfer. Error Handling: All database errors are processed server-side, and only safe, sanitized error messages are returned to the client. LLM Security The system prompt strictly prevents generation of destructive SQL commands. The model is instructed not to reveal sensitive data like phone numbers or email addresses unless specifically requested by the user. Hinglish input is supported without compromising security. With AMBIGUITY_THRESHOLD=7, vague or unclear requests trigger clarification prompts instead of immediate execution. Data Privacy The LLM receives only a limited, curated schema context rather than full database metadata. Data processing remains entirely server-side; the client only receives final query results. Infrastructure Security API Keys: Groq and OpenRouter API keys are stored securely as environment variables in Vercel and are never exposed to frontend code. Database Security: The Neon PostgreSQL connection uses sslmode=require to ensure encrypted communication. Secure Deployment: Hosting on Vercel provides automatic HTTPS with SSL/TLS encryption.       Goals Democratize Data Access: Bridge the gap between non-technical business teams and databases by providing instant, self-serve answers. Translate Natural Language to SQL: Accurately map conversational queries (English and Hinglish) into precise SQLite read queries. Handle Ambiguity Safely: Prevent false assumptions by identifying ambiguous questions and asking clarifying follow-up questions instead of guessing. Ensure Security & Safety: Enforce read-only access strictly, blocking any query modifications (INSERT, UPDATE, DELETE, DROP, ALTER) to prevent data corruption. Enhance User Experience: Present answers clearly using a modern chat interface complete with interactive data tables, collapsible SQL code inspection, and automatic chart visualizations (line/bar plots) for trends. DEPLOYED LINK -https://nfsql.mohitdwivedi.in/chat

Step by step tutorials

Interactive tutorials, by developers, for developers

Mic iconPlay icon
Homepage about left icon

Step into the Commudle Developerverse

Developer Ecosystem

Being a Techie is a superpower,
share knowledge & collaborate with more people like you.

Find Opportunities
Your Commudle profile is your Developer journey towards a strong network and new opportunities.

Knowledge Sharing

Publish your own tutorials, share those projects which you are building and get recognized.

Communities
Build your own Community or join one, learn new things, help other developers. One platform for all engagements.
Homepage about right icon

Testimonials

Don't just take our word for it

Who should have a profile on Commudle?

If you are a Software Developer, Designer, DevRel or a Community Leader then Commudle is for you.

Why do I need a Commudle profile?

It helps you build recognitions with not just your community contributions on Commudle, but everything on the internet from your blogs to your public projects.

How can I get a blue tick? Expert Tick

If you think you are an expert in a technology, just fill this form and we'll get back: Expert Nomination Form

Why to have my Developer Community on Commudle?

The right tools to engage your members all at one place. From events, newsletter to forums & chats. It's very easy to manage members & every community activity helps you build your profile.
Are you a Student?Start a Developer community for Free! Get started