In this video, we'll build a Full-Stack AI Expense Tracker App using the PERN (Postgres, Express, React, Node.js) stack, styled with Tailwind CSS v4, and powered by Google Gemini AI.
👉 Neon: https://get.neon.com/hS0rzlF
Get Source Code: https://buymeacoffee.com/timetoprogra...
🔥 Complete Web Developer Bundle
Includes 100+ React Components, 18 Full Stack Projects, 5 Cheat Sheets & 500+ Interview Q&As
👉 Get it here: https://buymeacoffee.com/timetoprogra...
👉 Get Frontend UI Boilerplate code: https://github.com/time-to-program/ai...
Functionalities Implemented:
1. User Authentication – Secure signup & login with JWT and bcrypt-hashed passwords
2. Auto-Seeded Categories – 17 default income & expense categories created the moment a user registers
3. Smart Transaction Tracking – Add, edit, delete, search, and filter income and expense transactions
4. Custom Categories – Create your own categories with icon and color customization
5. Monthly & Weekly Budgets – Set per-category budgets and track real-time spending against them
6. Interactive Dashboard – KPI cards, monthly trend chart, top categories donut, recent transactions & budget status
7. Time-Range Analytics – Switch between 30D, 3M, Monthly and Yearly views with instant client-side aggregation
8. AI Monthly Summary – Gemini-generated reports with a health-score gauge, stats, and personalized recommendations
9. AI Savings Tips – Four ranked, category-specific savings ideas with estimated monthly dollar savings
10. AI Budget Verdicts – Auto-running per-budget verdicts (On Track / Watch It / Over Budget) with custom commentary
11. AI Spending Analyzer – Filter-aware AI commentary on the Transactions page
12. Persistent AI History – Every insight stored as JSONB in Postgres so users can revisit any past analysis
13. Responsive Modern UI – Violet-themed light mode with animated hero, gradient charts, and skeleton loaders
00:00 Demo of AI Expense Tracker App
Frontend Boilerplate Setup
14:18 Cloning the Boilerplate & Installing Dependencies
15:06 Project Structure Walkthrough
Backend Development
19:21 Backend Project Setup & Folder Structure
22:45 Connecting to Neon Serverless Postgres
25:23 Creating the SQL Schema (Users, Categories, Transactions, Budgets, AI Insights)
27:27 Building the Migration Script
32:15 Building Authentication APIs (Register, Login, Get Profile)
35:24 Auth Middleware (JWT Verification)
40:25 Building Category APIs (Create, List, Update, Delete)
47:55 Building Transaction APIs (Create, List with Filters, Update, Delete)
56:36 Building Budget APIs (Create, List with Spending Join, Update, Delete)
01:02:41 Building Dashboard APIs (Summary, Monthly Trend, Category Breakdown)
AI Integration with Google Gemini
01:10:03 Setting Up the Gemini SDK & Service Wrapper
01:13:58 AI Building AI Insight APIs
Frontend Integration
01:21:23 Setting Up the Real Axios Client & JWT Interceptor
01:23:47 Connecting Every Page to the Live Backend
Seed Data & Wrap-Up
01:27:45 Building the Seed Script for Rich Sample Data
01:31:51 Final Walkthrough & Next Steps
Also, check out:
Build a Full-Stack AI-Powered Habit Tracker App
• Build a Full-Stack AI-Powered Habit Tracke...
Build a Full-Stack AI Recipe Generator App
• Build a Full-Stack AI Recipe Generator App...
Build a Full-Stack AI-Powered Learning Assistant App
• Build a Full-Stack AI-Powered Learning Ass...
#pernstack #aiexpensetracker #reactjs #nodejs #postgres #neon #fullstackproject
Follow us on:
Instagram: / timetoprogram
For more updates, subscribe to our channel:
/ @timetoprogram-yt
Please like, share, and subscribe for more videos like this.
Thank You.