<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: ADITYA JHA</title>
    <description>The latest articles on DEV Community by ADITYA JHA (@24f2005506_adityajha_403).</description>
    <link>https://dev.to/24f2005506_adityajha_403</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3995007%2F2097388f-79b2-4031-8039-4a077192d1ce.jpg</url>
      <title>DEV Community: ADITYA JHA</title>
      <link>https://dev.to/24f2005506_adityajha_403</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/24f2005506_adityajha_403"/>
    <language>en</language>
    <item>
      <title>Building InsightForge: AI-Powered Business Intelligence with Aurora PostgreSQL</title>
      <dc:creator>ADITYA JHA</dc:creator>
      <pubDate>Sun, 21 Jun 2026 07:40:02 +0000</pubDate>
      <link>https://dev.to/24f2005506_adityajha_403/building-insightforge-ai-powered-business-intelligence-with-aurora-postgresql-1k0</link>
      <guid>https://dev.to/24f2005506_adityajha_403/building-insightforge-ai-powered-business-intelligence-with-aurora-postgresql-1k0</guid>
      <description>&lt;h1&gt;
  
  
  Building InsightForge: An AI-Powered Business Intelligence Platform with Aurora PostgreSQL and Generative AI
&lt;/h1&gt;

&lt;h1&gt;
  
  
  H0Hackathon
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flx4cig66x9e35s7svrsb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Flx4cig66x9e35s7svrsb.png" alt=" " width="799" height="373"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Built for the Vercel + AWS Database Hackathon.&lt;/p&gt;

&lt;p&gt;InsightForge helps small and medium-sized businesses transform raw sales, inventory, and customer data into actionable insights, forecasts, and AI-generated recommendations.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Problem
&lt;/h2&gt;

&lt;p&gt;Small and medium-sized businesses generate large amounts of data every day through sales, inventory management, and customer interactions. However, most SMBs cannot afford dedicated analysts or expensive business intelligence tools.&lt;/p&gt;

&lt;p&gt;As a result, valuable business data often remains unused inside spreadsheets and CSV files.&lt;/p&gt;

&lt;p&gt;I wanted to build a platform that could transform raw business data into actionable insights within minutes.&lt;/p&gt;

&lt;p&gt;That idea became InsightForge.&lt;/p&gt;




&lt;h2&gt;
  
  
  What is InsightForge?
&lt;/h2&gt;

&lt;p&gt;InsightForge is an AI-powered Business Intelligence and Decision Support Platform designed for SMBs.&lt;/p&gt;

&lt;p&gt;Users can upload business datasets such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Sales Data&lt;/li&gt;
&lt;li&gt;Inventory Data&lt;/li&gt;
&lt;li&gt;Customer Data&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The platform automatically analyzes the data and generates:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Business Health Scores&lt;/li&gt;
&lt;li&gt;Revenue Insights&lt;/li&gt;
&lt;li&gt;Inventory Analytics&lt;/li&gt;
&lt;li&gt;Customer Analytics&lt;/li&gt;
&lt;li&gt;Risk Detection&lt;/li&gt;
&lt;li&gt;Forecasting&lt;/li&gt;
&lt;li&gt;AI-Generated Executive Reports&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The goal is simple:&lt;/p&gt;

&lt;p&gt;Help small businesses make data-driven decisions without needing a dedicated analytics team.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F85xmo4n4neo99docvmfe.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F85xmo4n4neo99docvmfe.png" alt=" " width="800" height="374"&gt;&lt;/a&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  The Challenge
&lt;/h2&gt;

&lt;p&gt;One of the biggest challenges was handling different dataset structures.&lt;/p&gt;

&lt;p&gt;Every business stores data differently.&lt;/p&gt;

&lt;p&gt;For example:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Revenue may appear as Revenue, Sales, Amount, or Total Value.&lt;/li&gt;
&lt;li&gt;Customer identifiers can have different column names.&lt;/li&gt;
&lt;li&gt;Inventory datasets vary significantly across industries.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To solve this problem, I built a dataset detection and column mapping system that automatically identifies dataset types and maps important business metrics.&lt;/p&gt;

&lt;p&gt;This allows InsightForge to work with a wide variety of business datasets without requiring manual configuration.&lt;/p&gt;




&lt;h2&gt;
  
  
  Why Aurora PostgreSQL?
&lt;/h2&gt;

&lt;p&gt;Database selection was one of the most important architectural decisions.&lt;/p&gt;

&lt;p&gt;InsightForge manages highly related business entities, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Users&lt;/li&gt;
&lt;li&gt;Uploaded datasets&lt;/li&gt;
&lt;li&gt;Business health scores&lt;/li&gt;
&lt;li&gt;Forecasts&lt;/li&gt;
&lt;li&gt;AI-generated reports&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These relationships require:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Relational consistency&lt;/li&gt;
&lt;li&gt;Structured querying&lt;/li&gt;
&lt;li&gt;Transactional integrity&lt;/li&gt;
&lt;li&gt;Historical data tracking&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Aurora PostgreSQL was a natural fit because it allows InsightForge to maintain relationships between business records while supporting analytical workloads.&lt;/p&gt;

&lt;p&gt;Rather than treating uploaded files as temporary inputs, Aurora enables the platform to build a historical business knowledge base that supports long-term trend analysis and forecasting.&lt;/p&gt;




&lt;h2&gt;
  
  
  Architecture
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Frontend
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Next.js&lt;/li&gt;
&lt;li&gt;React&lt;/li&gt;
&lt;li&gt;Tailwind CSS&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Backend
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Next.js API Routes&lt;/li&gt;
&lt;li&gt;Prisma ORM&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Database
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Amazon Aurora PostgreSQL&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  AI Layer
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Google Gemini API&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Deployment
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Vercel&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F650r1j3hhvq8x2yes3q8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F650r1j3hhvq8x2yes3q8.png" alt=" " width="800" height="395"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Key Features
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Intelligent Dataset Detection
&lt;/h3&gt;

&lt;p&gt;The system automatically identifies whether uploaded data belongs to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Sales&lt;/li&gt;
&lt;li&gt;Inventory&lt;/li&gt;
&lt;li&gt;Customer datasets&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Business Health Score
&lt;/h3&gt;

&lt;p&gt;A composite score that evaluates:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Revenue performance&lt;/li&gt;
&lt;li&gt;Inventory efficiency&lt;/li&gt;
&lt;li&gt;Customer readiness&lt;/li&gt;
&lt;li&gt;Forecast readiness&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Forecasting and Risk Analysis
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff48mj0p4ewtmaa7bi4g9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff48mj0p4ewtmaa7bi4g9.png" alt=" " width="800" height="399"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;InsightForge identifies business risks and highlights areas requiring attention.&lt;/p&gt;

&lt;h3&gt;
  
  
  AI Executive Reports
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbqsvogiuy02fcnczmtwn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbqsvogiuy02fcnczmtwn.png" alt=" " width="800" height="397"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faltxpv70zvwhc30i64uv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faltxpv70zvwhc30i64uv.png" alt=" " width="799" height="374"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Business leaders receive natural language summaries and recommendations generated from their data.&lt;/p&gt;




&lt;h2&gt;
  
  
  Lessons Learned
&lt;/h2&gt;

&lt;p&gt;Building InsightForge taught me several important lessons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Data quality matters more than model complexity.&lt;/li&gt;
&lt;li&gt;Schema design significantly impacts analytics performance.&lt;/li&gt;
&lt;li&gt;Relational databases remain essential for business intelligence systems.&lt;/li&gt;
&lt;li&gt;AI becomes far more valuable when combined with structured business data.&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ft9sna8i3rswlqcwkn1x6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ft9sna8i3rswlqcwkn1x6.png" alt=" " width="800" height="390"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Future Improvements
&lt;/h2&gt;

&lt;p&gt;Future versions of InsightForge will include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Multi-user collaboration&lt;/li&gt;
&lt;li&gt;Real-time data synchronization&lt;/li&gt;
&lt;li&gt;Advanced forecasting models&lt;/li&gt;
&lt;li&gt;Industry-specific analytics templates&lt;/li&gt;
&lt;li&gt;Automated anomaly detection&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;InsightForge was built around a simple idea:&lt;/p&gt;

&lt;p&gt;Businesses should not need a dedicated analytics team to understand their own data.&lt;/p&gt;

&lt;p&gt;By combining Aurora PostgreSQL, Next.js, and Generative AI, InsightForge transforms disconnected business datasets into actionable insights, forecasts, and recommendations that help SMBs make better decisions.&lt;/p&gt;

&lt;p&gt;Thanks for reading.&lt;br&gt;
The complete source code is available on GitHub:&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/aditya2785" rel="noopener noreferrer"&gt;
        aditya2785
      &lt;/a&gt; / &lt;a href="https://github.com/aditya2785/InsightForge" rel="noopener noreferrer"&gt;
        InsightForge
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;p&gt;This is a &lt;a href="https://nextjs.org" rel="nofollow noopener noreferrer"&gt;Next.js&lt;/a&gt; project bootstrapped with &lt;a href="https://nextjs.org/docs/app/api-reference/cli/create-next-app" rel="nofollow noopener noreferrer"&gt;&lt;code&gt;create-next-app&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Getting Started&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;First, run the development server:&lt;/p&gt;
&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;npm run dev
&lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; or&lt;/span&gt;
yarn dev
&lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; or&lt;/span&gt;
pnpm dev
&lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; or&lt;/span&gt;
bun dev&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;Open &lt;a href="http://localhost:3000" rel="nofollow noopener noreferrer"&gt;http://localhost:3000&lt;/a&gt; with your browser to see the result.&lt;/p&gt;
&lt;p&gt;You can start editing the page by modifying &lt;code&gt;app/page.tsx&lt;/code&gt;. The page auto-updates as you edit the file.&lt;/p&gt;
&lt;p&gt;This project uses &lt;a href="https://nextjs.org/docs/app/building-your-application/optimizing/fonts" rel="nofollow noopener noreferrer"&gt;&lt;code&gt;next/font&lt;/code&gt;&lt;/a&gt; to automatically optimize and load &lt;a href="https://vercel.com/font" rel="nofollow noopener noreferrer"&gt;Geist&lt;/a&gt;, a new font family for Vercel.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Learn More&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;To learn more about Next.js, take a look at the following resources:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://nextjs.org/docs" rel="nofollow noopener noreferrer"&gt;Next.js Documentation&lt;/a&gt; - learn about Next.js features and API.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://nextjs.org/learn" rel="nofollow noopener noreferrer"&gt;Learn Next.js&lt;/a&gt; - an interactive Next.js tutorial.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;You can check out &lt;a href="https://github.com/vercel/next.js" rel="noopener noreferrer"&gt;the Next.js GitHub repository&lt;/a&gt; - your feedback and contributions are welcome!&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Deploy on Vercel&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;The easiest way to deploy your Next.js app is to use the &lt;a href="https://vercel.com/new?utm_medium=default-template&amp;amp;filter=next.js&amp;amp;utm_source=create-next-app&amp;amp;utm_campaign=create-next-app-readme" rel="nofollow noopener noreferrer"&gt;Vercel Platform&lt;/a&gt; from the creators of Next.js.&lt;/p&gt;
&lt;p&gt;Check out our &lt;a href="https://nextjs.org/docs/app/building-your-application/deploying" rel="nofollow noopener noreferrer"&gt;Next.js deployment documentation&lt;/a&gt; for more…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/aditya2785/InsightForge" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br&gt;
You can try the live application here:&lt;br&gt;
&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body flex items-center justify-between"&gt;
        &lt;a href="https://insight-forge-kappa.vercel.app/" rel="noopener noreferrer" class="c-link fw-bold flex items-center"&gt;
          &lt;span class="mr-2"&gt;insight-forge-kappa.vercel.app&lt;/span&gt;
          

        &lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


</description>
      <category>aws</category>
      <category>nextjs</category>
      <category>prisma</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
