AWS Builder Center
Weekend Annoying Task Challenge: BudgetSnap

Weekend Annoying Task Challenge: BudgetSnap

BudgetSnap turns receipt uploads into instant budget tracking. It extracts totals and categories, logs expenses, and warns you immediately when spending crosses your weekly or monthly limits.

Developer

Vision and What the App Does

One repetitive task that constantly annoyed me was logging receipts and checking whether I was still within budget. I would keep receipt photos in my phone, forget to log them, and only notice overspending much later. Even when I logged expenses manually, category mistakes made budget tracking less reliable.
I built BudgetSnap to remove that friction. The app lets me upload a receipt image or PDF, then automatically extracts useful fields and checks spending against category limits. Instead of waiting for end-of-month surprises, I get instant feedback after each upload.
BudgetSnap focuses on one simple flow:
  1. Upload a receipt file.
  1. Extract merchant, date, subtotal, tax, total, and category.
  1. Store the entry in a database.
  1. Compare spending with budget limits for that category.
  1. Return a clear status with practical advice.
The user experience is intentionally lightweight:
  1. A responsive single-page UI.
  1. A budget period selector (week/month).
  1. A category override selector if needed.
  1. Editable budget limits by category.
  1. Real-time result cards showing over-budget or within-budget status.
This app solves a real annoying weekly task with immediate value: less manual entry, faster awareness, and better spending behavior.

How I Built It

I built the project in incremental steps so I could ship a working version quickly and keep improving without blocking progress.
First, I created a frontend with plain HTML, CSS, and JavaScript. I avoided heavy dependencies to keep setup minimal and deployment fast. The UI supports drag-and-drop uploads, manual file picker uploads, category budgeting, and responsive layouts for desktop and mobile.
Amazon Bedrock is the AI extraction layer in the project. I enabled model access in Amazon Bedrock and used the Nova model to read the receipt content and return structured receipt fields that the app can store and compare against budgets.
Second, I set up DynamoDB with two tables:
  1. expenses for processed receipt entries.
  1. budgets for category limits.
Third, I deployed a receipt processor Lambda that:
  1. Receives upload context.
  1. Extracts receipt data (Bedrock path or fallback path).
  1. Looks up budget limits.
  1. Computes spent-before, spent-after, and over-budget amount.
  1. Writes final expense rows to DynamoDB.
  1. Returns normalized JSON for the UI.
Fourth, I created an upload API Lambda behind API Gateway. It accepts multipart upload from the browser, stores the file in S3, invokes the processor Lambda, and sends the processed result back to the UI.
Fifth, I connected S3 event triggers and tested full end-to-end processing.
A key challenge was Bedrock token throttling during development. Instead of pausing work, I implemented a deterministic fallback mode using the same output schema. That kept the app functional and demoable while still preserving the real AI integration path for when quota is available.

AWS Services Used and Architecture Overview

BudgetSnap uses these AWS services:
  • Amazon S3 Stores uploaded receipt files and triggers processing.
S3

  • AWS Lambda Runs upload handling and receipt processing logic.
lambda processor

lambda upload

  • Amazon API Gateway (HTTP API) Exposes the upload endpoint used by the frontend.
API gateway

  • Amazon DynamoDB Stores budgets and processed expenses.
dynamodb tables

  • Amazon Bedrock (Nova models) Performs receipt understanding and categorization in the AI path.
  • Amazon CloudWatch Logs Used for debugging and operational visibility.
Architecture overview:
  1. User uploads image/PDF from the web app.
  1. API Gateway sends request to Upload Lambda.
  1. Upload Lambda writes file to S3.
  1. Processor Lambda runs using S3 context.
  1. Processor checks budget data in DynamoDB.
  1. Processor writes expense entry to DynamoDB.
  1. API returns budget status and advice to frontend.
Agent trigger behavior:
  1. File upload triggers processing.
  1. Processor handles extraction and budget reasoning.
  1. Advice text is returned in the same response payload.

Application UI:
UI


What I Learned

This challenge reinforced that a focused scope beats a broad scope in a weekend build. By solving one annoying task well, I finished a fully deployed app with real utility.
Key technical learnings:
  1. Apply least-privilege IAM policies and validate permissions early across Lambda, S3, API Gateway, and DynamoDB integrations.
  1. Use Amazon CloudWatch Logs as the primary observability layer for tracing failures and diagnosing runtime issues in serverless workflows.
  1. Standardize request and response schemas across frontend and backend services to simplify integration, testing, and iteration.
  1. Keep the architecture lightweight and modular so the application remains easy to deploy, maintain, and scale.
Key product learnings:
  1. Instant feedback is what users value most in budgeting workflows.
  1. Over-budget nudges are more useful when they are short and practical.
  1. Reducing user effort (upload once, auto-check budgets) creates immediate adoption value.

Link to App or Repo

GitHub repo if you wat to try it out:  https://github.com/limanindou/BudgetSnap 
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article