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 miliseconds.
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