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: v6View 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.