# JFaster examples

Complete models written in the [JFaster language](../docs/language-spec.md). Each file is a whole application.

## Canonical examples

- [Clinic.txt](Clinic.txt) — Medical clinic: patients, doctors and appointments (73 lines)
- [ExpenseReports.txt](ExpenseReports.txt) — Expense reports: employees submit expenses with lines; managers approve them (44 lines)
- [Helpdesk.txt](Helpdesk.txt) — Help desk: tickets, agents, messages and service levels (80 lines)
- [Inventory.txt](Inventory.txt) — Inventory and purchasing: products, warehouses, stock and purchase orders (72 lines)
- [Library.txt](Library.txt) — Library: books, members and loans (61 lines)
- [Projects.txt](Projects.txt) — Projects and time tracking: clients, projects, tasks and timesheets (75 lines)
- [School.txt](School.txt) — School: students, courses, enrollments and grades (54 lines)

## Production models

Real models from production business applications, anonymized and published as they are. Their labels are in Spanish because the applications serve Spanish-speaking users. They show what large, long-lived models look like, including older conventions (for example `menu=` attributes instead of `@`); for new models, follow the [specification](../docs/language-spec.md).

- [Expenses.txt](production/Expenses.txt) — Expense reports with approval workflow, master/detail, dynamic values (150 lines)
- [CRM.txt](production/CRM.txt) — Lead management CRM: tabs by state, complex filters, batch actions (379 lines)
- [HR.txt](production/HR.txt) — Human resources: employees, offices, per-user subsets, many listings (549 lines)
- [Tickets.txt](production/Tickets.txt) — Help desk tickets: role-based listings, state machine, notifications (546 lines)
