DoorDash Earnings Tracker

DoorDash Earnings Tracker

Published on:

Gig Worker Earnings Tracker

A lightweight, AI-assisted(Vibe Coded) Flask web app for delivery analytics — built because spreadsheets were slowing me down.

Overview

When DoorDash became my side-gig, I tracked everything in Google Sheets.
But the formulas, sheets, and manual updates became chaotic… so one evening, out of boredom (and curiosity), I challenged myself:

“Can I replace the entire spreadsheet workflow with a clean local web app?”

Three nights later, I shipped DoorDash Earnings Tracker — a fully functioning Flask + SQLite analytics system, designed to log, analyze, visualize, and export earnings and expenses with zero cloud dependency.


Why I Built It


Core Features

1. Dynamic Dashboard

image

The homepage shows everything instantly with clean KPIs and smart presets.

Date Presets: Week | Month | YTD | All-time
KPIs: Total earnings, Avg/hr, Avg per delivery, Expenses, Net, etc.
Visuals powered by Chart.js:


2. Weekly Earnings Management

image

All weekly logs are editable via modal forms with full CRUD:


3. Expense Tracking System

image

Separate tables for:


4. Analytics, Export & Backup Tools

image


5. Security & Local Auth


Architecture

Backend: Flask + SQLAlchemy
Database: SQLite
Frontend: HTML, Jinja2, Tailwind-style minimal CSS, Chart.js
Auth: Local PIN hash + session timeout
Packaging: Bash scripts + systemd service template
Config: JSON-driven (currency symbol, date range presets, PIN hash)

File Structure

PLAINTEXT
app.py                # routes, models, auth, csrf, exports
templates/
    base.html
    index.html        # dashboard
    weekly.html
    expenses.html
    admin.html
    login.html
static/
    script.js         # charts, filters, modals, theme toggle
    style.css
import_data.py        # CSV importer
config.json
dist/                 # packaged tarball
Click to expand and view more

Screenshots

image

image


What I Learned

This wasn’t just a “replace my spreadsheet” project. It became a small production-grade system:


The “AI Vibe Coding” Workflow

This project was intentionally built fast using an experimental workflow using Codex and My Curiosity:

  1. I described the app at a high level.

  2. AI generated the first version of each module.

  3. I refined the architecture and debugged local behavior.

  4. Together, we iterated through UI, chart logic, and packaging.

  5. Shipped from idea → working app in a very short cycle.

That speed and creativity became part of the fun.


Conclusion

DoorDash Earnings Tracker is a small but meaningful example of how quickly a well-structured idea can turn into a working product — especially when pairing human creativity with AI-accelerated development.

It replaced spreadsheets that I use completely.
It gave me cleaner insights.
And it proved to me that I can ship real tools, fast, while working on networking, labs, and everything else in my busy routine.

Start searching

Enter keywords to search articles

↑↓
ESC
⌘K Shortcut