Purpose of this application is to provide Application Framework for building backend database heavy applications in Lean.
This is not in production. Backwards-incompatible change should not try preserve old behavior, and it should not reference outdated features in the docs.
-
InvoicingServiceis an example service that should be removable without breaking core functionality or tests. -
UserServiceis supposed to be more reusable, but it too is not used by other applications at the moment.
This project uses Lean modules with explicit visibility markers (public / private) on declarations. Never use public section.
Use public import for re-exports and types referenced in public signatures, and meta / meta import for compile-time metaprogramming (deriving handlers, attributes, macros).
Prefer pipeline syntax over explicit function application: x |> f for functions,
x |>.method for generalized dot notation (including names such as get! or
set!), and x |>.1 / x |>.2 for projections.
Write docs in an explanatory style rather than as dry specifications:
- Lead with the why and the mental model: explain what problem a feature solves, how the pieces fit together, and why boundaries (like decoupled modules or compile-time checks) are shaped that way.
- Use short, concrete code or payload examples to illustrate usage instead of exhaustive API/field tables.
- Call out practical caveats, edge cases, and current limitations plainly, and link to runnable examples when available.
- Link new docs from
docs/README.mdand keep existing docs free of removed or outdated features.
Reference example: docs/transactional-batching.md.