• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
Benmichaelx

Benmichaelx

Budget

Public
Like
Budget
Home
Code
5
backend
3
frontend
4
shared
2
README.md
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
index.ts
https://Benmichaelx--0a35c6f23fb711f0af7776b3cceeab13.web.val.run
README.md

Budget Advisory App

A comprehensive budget management application that helps users make informed financial decisions based on their income and expenses.

Features

  • Income & Expense Tracking: Input and categorize all sources of income and expenses
  • Budget Analysis: Real-time analysis of financial health and spending patterns
  • Smart Recommendations: AI-powered suggestions for downsizing or upscaling lifestyle
  • Savings Goals: Track progress toward financial objectives
  • Data Persistence: Secure storage of financial data

Project Structure

β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ database/
β”‚   β”‚   β”œβ”€β”€ migrations.ts    # Database schema setup
β”‚   β”‚   └── queries.ts       # Database operations
β”‚   β”œβ”€β”€ routes/
β”‚   β”‚   β”œβ”€β”€ budget.ts        # Budget analysis endpoints
β”‚   β”‚   └── static.ts        # Static file serving
β”‚   └── index.ts             # Main Hono server
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ App.tsx          # Main application component
β”‚   β”‚   β”œβ”€β”€ BudgetForm.tsx   # Income/expense input form
β”‚   β”‚   β”œβ”€β”€ BudgetAnalysis.tsx # Analysis and recommendations
β”‚   β”‚   └── Dashboard.tsx    # Overview dashboard
β”‚   β”œβ”€β”€ index.html           # Main HTML template
β”‚   β”œβ”€β”€ index.tsx            # Frontend entry point
β”‚   └── style.css            # Custom styles
└── shared/
    β”œβ”€β”€ types.ts             # Shared TypeScript interfaces
    └── utils.ts             # Shared utility functions

API Endpoints

  • GET / - Main application page
  • GET /api/budget - Get user's budget data
  • POST /api/budget - Save budget data
  • POST /api/analyze - Get budget analysis and recommendations
  • DELETE /api/budget/:id - Delete budget entry

Technology Stack

  • Backend: Hono (TypeScript API framework)
  • Frontend: React with TypeScript
  • Database: SQLite for data persistence
  • Styling: TailwindCSS
  • AI: OpenAI for intelligent recommendations
HTTP
  • index.ts
    Benmichaelx--0a…13.web.val.run
Code
backendfrontendsharedREADME.mdmain.tsx
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
Β© 2025 Val Town, Inc.