Public
Like
support_case
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.
Viewing readonly version of main branch: v3View latest version
A comprehensive budget tracking web application built for Val Town with mobile-first design.
- π± Mobile-responsive design
- π° Income and expense tracking
- π Budget categories and spending limits
- π Visual analytics with charts
- πΎ SQLite data persistence
- π Simple user authentication
- π± PWA capabilities for app-like experience
βββ backend/
β βββ database/
β β βββ migrations.ts # Database schema setup
β β βββ queries.ts # Database query functions
β βββ routes/
β β βββ auth.ts # Authentication routes
β β βββ transactions.ts # Transaction CRUD operations
β β βββ budgets.ts # Budget management
β β βββ analytics.ts # Analytics and reporting
β βββ index.ts # Main Hono app entry point
βββ frontend/
β βββ components/
β β βββ App.tsx # Main app component
β β βββ Dashboard.tsx # Dashboard overview
β β βββ TransactionForm.tsx
β β βββ TransactionList.tsx
β β βββ BudgetManager.tsx
β β βββ Analytics.tsx
β βββ index.html # Main HTML template
β βββ index.tsx # Frontend entry point
β βββ style.css # Custom styles
βββ shared/
βββ types.ts # Shared TypeScript types
- Backend: TypeScript with Hono framework
- Frontend: React 18.2.0 with TypeScript
- Database: SQLite
- Styling: TailwindCSS
- Charts: Chart.js
- Icons: Lucide React
- Set the backend trigger to HTTP
- The app will automatically set up the database on first run
- Access the app through the HTTP endpoint
- Create an account and start tracking your budget!
POST /api/auth/register- User registrationPOST /api/auth/login- User loginGET /api/transactions- Get user transactionsPOST /api/transactions- Create new transactionPUT /api/transactions/:id- Update transactionDELETE /api/transactions/:id- Delete transactionGET /api/budgets- Get user budgetsPOST /api/budgets- Create/update budgetGET /api/analytics- Get spending analytics