Interface
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: v12View latest version
A colorful and attractive daily expense tracking application for a fueling station with three branches selling diesel and petrol.
- Track daily expenses across 3 branches
- Separate tracking for diesel and petrol sales
- Colorful, modern UI with gradients and animations
- Real-time expense management
- Daily, weekly, and monthly summaries
- Responsive design
βββ backend/
β βββ database/
β β βββ migrations.ts # Database schema
β β βββ queries.ts # Database operations
β βββ routes/
β β βββ expenses.ts # Expense API routes
β βββ index.ts # Main server entry point
βββ frontend/
β βββ components/
β β βββ App.tsx # Main application component
β β βββ ExpenseForm.tsx # Add expense form
β β βββ ExpenseList.tsx # Display expenses
β β βββ Dashboard.tsx # Summary dashboard
β βββ index.html # Main HTML template
β βββ index.tsx # Frontend entry point
β βββ style.css # Custom styles
βββ shared/
βββ types.ts # Shared TypeScript types
- Backend: Hono.js with SQLite database
- Frontend: React with TypeScript
- Styling: TailwindCSS with custom gradients
- Icons: Lucide React icons
The application will be available at the HTTP endpoint once deployed.