A sample invoice app, built with XMLUI, to demonstrate the framework's capabilities.
Invoice Management
- Create, edit, and track invoices
- Nested form for line items
- Detailed invoice views
Client Management
- Create and edit clients
- Track outstanding balances
Product Catalog
- Create and edit products
- Import products from CSV
Data visualization
- Interactive dashboard with key metrics
- Revenue tracking and visualization
- Monthly and daily revenue charts
Search
- Date-based invoice filtering
- Search across clients, products, invoices
- Batteries included! No additional software required.
- Download and unzip the release.
On macOS/Linux:
./start.shOn Windows:
start.batThen open your browser to http://localhost:8080
- Explore the dashboard to see your business overview
- Browse existing clients and invoices
- Create a new invoice using the "Create Invoice" button
- Import products via the Import page using the provided CSV format
xmlui-invoice/
├── Main.xmlui # Application entry point
├── api.json # REST API definition
├── config.json # Application configuration
├── data.db # SQLite database
├── components/ # XMLUI components
│ ├── Dashboard.xmlui
│ ├── Invoices.xmlui
│ ├── Clients.xmlui
│ └── ...
├── themes/ # Custom theme
├── sql / # Queries
├── resources/ # Static assets
- New components: Add them to
/componentsand register routes inMain.xmlui - API endpoints: Extend
api.jsonwith new SQL-based endpoints - Database changes: Modify
data.db(SQLite) schema as needed - Styling: Customize the theme in
/themes/invoice.json
The application includes sample clients, invoices, and products. You can:
- Clear existing data and start fresh
- Import your own data using the CSV import feature
- Add tables to support new features
Capabilities:
- Rapid development: Complete business app with minimal and readable code
- Reactive data binding: Dynamic data binding and updates
- Professional theming: Looks great out of the box, easy to customize
- Database integration: SQLite integration via API
- Component reuse: Modular, composable UI elements
Patterns:
- Form handling and validation
- Data visualization and charts
- File import and processing
- Search and filtering
- Master-detail relationships
Use this application to explore:
- API design patterns
- Component creation and reuse
- Theme customization
- User experience patterns
This project uses the MIT License. See the main XMLUI repository for details.