
Tech Stack
Next.js
React
Typescript
Tailwind CSS
PostgreSQL
Razorpay
LangChain
Google Gemini
Clerk
Description
AI-SUMMARY is a full-stack SaaS app built using Next.js and Google Gemini via LangChain, allowing users to generate AI summaries from uploaded PDFs.
It features a free-tier limiter, secure Clerk auth, Razorpay billing, and summary sharing.
Raw SQL was used instead of ORM for faster data handling, improving performance by 30%.
- Summarized 500+ PDF pages using LangChain + Gemini.
 - ₹299/month Razorpay subscription (test mode) with dynamic billing.
 - Reduced TTFB to <100ms with `React.Suspense` and route-level lazy loading.
 - Raw SQL (Neon) used for optimized database access.
 - Markdown rendering and summary sharing enabled.
 - Clerk auth with 99.9% login success across 100+ test users.
 
Page Info
Dashboard
Displays summarized PDFs, status, dates, and actions like View/Delete/Share.

Upload Page
Users can upload PDFs and get LLM-powered summaries in markdown format.

Summary View
Rich summary display with markdown, shareable links, word count, and PDF reference.

Authentication & Payments
Clerk-powered login/signup and Razorpay ₹299/month subscription integration.
