An open API service indexing awesome lists of open source software.

https://github.com/bhavish2005/pockettrack

PocketTrack is an intelligent financial management app that turns daily spending into actionable insights. It automates receipt parsing using AI, tracks expenses effortlessly, and sends proactive budget alerts to help users stay financially healthy. Built with Next.js, Prisma, and Google Gemini.
https://github.com/bhavish2005/pockettrack

arcjet clerk cron finance inngest nextjs14 posgresql prisma-orm tailwindcss-v4

Last synced: 3 months ago
JSON representation

PocketTrack is an intelligent financial management app that turns daily spending into actionable insights. It automates receipt parsing using AI, tracks expenses effortlessly, and sends proactive budget alerts to help users stay financially healthy. Built with Next.js, Prisma, and Google Gemini.

Awesome Lists containing this project

README

          

# ๐Ÿ’ฐ PocketTrack โ€” Intelligent Financial Command Center

Transforming personal finance from a daily chore into a strategic advantage.

PocketTrack is an **AI-Powered Financial Management Platform** designed to automate your expense tracking, predict overspending, and provide real-time financial insights โ€” all while keeping your data secure with enterprise-grade protection.

---

## ๐ŸŒŸ Why PocketTrack?

Modern users expect automation, intelligence, and speed.
PocketTrack delivers **high-value, real-world solutions** to help users take control of their financial journey.

### ๐Ÿ’Ž Core Benefits

- **Zero-Friction Tracking** โ€“ Snap a photo of any receipt and let AI structure the data instantly.
- **Financial Safety Net** โ€“ Get proactive alerts *before* you overspend.
- **Data-Driven Growth** โ€“ Identify spending leaks and maximize savings.
- **Enterprise-Grade Security** โ€“ Built-in bot detection, rate-limiting, and secure APIs.

---

## ๐Ÿš€ Unique Selling Propositions (USPs)

- ๐Ÿง  **Generative AI Receipt Parsing** โ€” Uses Google Gemini to convert unstructured receipt data into clean records.
- โšก **Event-Driven Automation** โ€” Inngest handles recurring jobs and reports without slowing the app.
- ๐Ÿ›ก๏ธ **ArcJet Security Layer** โ€” Blocks malicious traffic, ensures safe API operations.
- ๐Ÿ“ง **Smart Notifications** โ€” Budget alerts & financial summaries delivered using Resend.

---

## ๐Ÿ› ๏ธ Tech Stack Overview

| Category | Technology Used |
|----------------------|---------------------------------------------------|
| **Framework** | Next.js 15 (App Router) |
| **Language** | JavaScript / React |
| **Database** | PostgreSQL (via Prisma ORM) |
| **Styling** | Tailwind CSS + Shadcn UI |
| **Authentication** | Clerk |
| **AI Engine** | Google Gemini 1.5 Flash |
| **Background Jobs** | Inngest |
| **Security Layer** | ArcJet |
| **Email Service** | Resend + React Email |
| **Deployment** | Vercel, Inngest Cloud (optional) |

---

## ๐Ÿ“ธ Screenshots (Preview)

> Add your app screenshots below for a more polished GitHub page.

### ๐Ÿ–ฅ๏ธ Dashboard Preview
![Dashboard Screenshot](./screenshots/dashboard.png)

### ๐Ÿงพ AI Receipt Scanner
![Receipt Scanner Screenshot](./screenshots/receipt.png)

### ๐Ÿ“Š Reports & Budgeting
![Reports Screenshot](./screenshots/reports.png)

---

## ๐Ÿ’ป Getting Started (Local Setup Guide)

Follow these steps to run PocketTrack locally.

### 1๏ธโƒฃ Prerequisites

Make sure you have:

- Node.js **v18+**
- npm or yarn
- PostgreSQL database (Local / Neon / Supabase Recommended)

---

### 2๏ธโƒฃ Clone the Repository

```bash
git clone https://github.com/yourusername/pockettrack.git
cd pockettrack
```

---

### 3๏ธโƒฃ Install Dependencies

```bash
npm install
# or
yarn install
```

---

### 4๏ธโƒฃ Configure Environment Variables

Create a `.env` file:

```env
# Database Connection (Prisma)
DATABASE_URL="postgresql://USER:PASSWORD@HOST:PORT/DATABASE?sslmode=require"
DIRECT_URL="postgresql://USER:PASSWORD@HOST:PORT/DATABASE?sslmode=require"

# Authentication (Clerk)
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_...
CLERK_SECRET_KEY=sk_test_...
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up

# AI Integration (Google Gemini)
GEMINI_API_KEY=...

# Email Service (Resend)
RESEND_API_KEY=re_...

# Security (ArcJet)
ARCJET_KEY=aj_...

# App URL
NEXT_PUBLIC_APP_URL=http://localhost:3000
```

---

### 5๏ธโƒฃ Setup the Database

```bash
npx prisma generate
npx prisma db push
```

(Optional) Run seed script if available.

---

### 6๏ธโƒฃ Start the Application

```bash
npm run dev
```

App will be live at:

๐Ÿ‘‰ **http://localhost:3000**

---

### 7๏ธโƒฃ Start Inngest Dev Server (Background Jobs)

```bash
npx inngest-cli@latest dev
```

Access dashboard:

๐Ÿ‘‰ **http://localhost:8288**

---

## ๐Ÿค Contributing

Contributions are welcome!
Please open issues, submit pull requests, or propose new features.

---

## โญ Support

If you like this project, don't forget to โญ **star the repository**!