c
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: v4View latest version
A comprehensive bill management system for fabrication businesses with admin and customer portals.
- Generate and edit bills
- Manage customers
- Track payments
- View payment history
- Download bills as PDF
- View assigned bills
- Make payments
- Track payment history
- Download bills as PDF
├── backend/
│ ├── database/
│ │ ├── migrations.ts # Database schema
│ │ └── queries.ts # Database operations
│ ├── routes/
│ │ ├── auth.ts # Authentication routes
│ │ ├── bills.ts # Bill management
│ │ ├── payments.ts # Payment processing
│ │ └── static.ts # Static file serving
│ └── index.ts # Main server entry
├── frontend/
│ ├── components/
│ │ ├── App.tsx # Main application
│ │ ├── Login.tsx # Login component
│ │ ├── AdminDashboard.tsx
│ │ ├── CustomerDashboard.tsx
│ │ ├── BillForm.tsx # Bill creation/editing
│ │ ├── BillList.tsx # Bill listing
│ │ ├── PaymentModal.tsx
│ │ └── BillPDF.tsx # PDF generation
│ ├── index.html
│ ├── index.tsx
│ └── style.css
└── shared/
└── types.ts # Shared TypeScript types
- Backend: Hono (TypeScript)
- Frontend: React with TypeScript
- Database: SQLite
- Styling: TailwindCSS
- PDF Generation: jsPDF
- Authentication: JWT tokens
- The application will automatically set up the database on first run
- Default admin credentials: admin@fabrication.com / admin123
- Access the application via the HTTP endpoint