Building Blocks

M
Written By Melih SünbülLast updated 5 months ago

Lex App provides a set of building blocks that you compose to create your application. Each one solves a specific problem — you only use what you need. They're organized into four groups that mirror how data flows through your app.

The ETL Pipeline

Every Lex App project follows the Extract → Transform → Load pattern. Your folder structure reflects this:

Stage

Folder

What Lives Here

Extract

Upload/

CalculationModel subclasses that ingest CSVs, Excel files, API data

Transform

Input/

Input models — your core business entities and domain logic

Load

Reports/

CalculationModel subclasses that compute summaries and analytics

Building Blocks by Category

Data Pipeline

How data enters and is structured — serializers, lifecycle hooks, and model structure.

Processing

How business logic runs — calculations, Celery async dispatch, and LexLogger for rich calculation output.

Tracking & Audit

Every action leaves a trail — audit logs for operation tracking and bitemporal history for data over time.

Access & UI

Who sees what and how it's presented — permissions and Streamlit dashboards.

Was this helpful?

Your feedback shapes what we write next.