Back to Projects
Next.js 16TypeScriptGoogle Gemini AIMongoDBRechartsnode-cronTailwind CSSCloudinaryFramer Motion

TrendPulse

AI-Powered Trend Analysis and Data Visualization Dashboard

An intelligent platform that tracks and analyzes trends utilizing Google’s Generative AI, featuring background cron jobs for automated data synthesis and interactive time-series visualizations.

The Problem

Manually monitoring trends is time-consuming. Users require an automated solution that ingest large data streams and translates them into actionable visual insights.

Architecture

Monolithic Next.js 16 (App Router) with a custom Node.js entry point to bypass serverless constraints for long-running cron tasks. Integrated with Google Gemini AI and MongoDB Atlas.

Scalability

Uses a stateful Node.js environment to maintain cron job consistency. Designed for single-instance or distributed lock-based (Redis) deployment to avoid job duplication.

Performance

Optimized with PWA caching, debounced API queries, and Cloudinary media optimization. Features reactive Markdown rendering for AI-generated text responses.

Key Features

AI-powered trend synthesis utilizing Google Gemini / Vertex AI
Automated data fetching using background Node.js cron jobs
Interactive time-series visualizations with Recharts
Progressive Web App (PWA) capabilities for fast, offline access
Markdown rendering for formatted AI text responses
Accessible UI components with Radix UI and Framer Motion

Core Industry Services

Trend Analysis EngineAI-Driven InsightsAutomated Data WorkflowsPWA Data Delivery

Project Ecosystem

Tamiz Uddin (Full Stack Developer)

Engineering Deep Dive

An inside look at the structural decisions, trade-offs, and scaling plans devised during implementation.

Context & Constraints

  • Trend Monitoring & Analytics.
  • Data Visualization & AI Dashboard.
  • Automated Background Workflows.

Architecture Trade-offs

Used a custom server.ts to support node-cron, which breaks standard serverless hosting compatibility but ensures robust background task execution.

Database Modeling

Document-oriented structure using Mongoose, featuring time-series collections for tracking trends alongside AI summaries.

Scaling Plan

Decoupling node-cron into a dedicated queue system (BullMQ) to allow the web app to scale independently on serverless edge networks.

Repository Insights

Initialized
20 days ago
Last Commit
Recently updated
Source Size
2.95 MB
Visibility
Private

Architecture data and repository metrics are synchronized via CI/CD telemetry.