Skip to main content

Data applications made simple with dbt

Jinjat is a low-code application framework that turns your dbt projects into web apps

⒈ Add dependency
⒉ Write parametrized SQL
⒊ Define OpenAPI
~/dbtproject/analysis/order_stats.sql
{%- set query_params = jinjat.request().query %}
select order_date,
count(*) as orders,
count(distinct customer_id) as users
from {{ ref('orders') }}
group by order_date
where status = '{{query_params.status}}'
Getting started ↗
⒋ Install Jinjat
⒌ Serve REST API
⒍ Generate UI
~zsh
% jinjat serve
INFO Registering `order_stats` route
INFO: Uvicorn running on http://127.0.0.1:8581
% curl http://127.0.0.1:8581/0.1/jaffle_shop/order_stats?status=shipped
[
{"order_date": "2018-01-07", "orders": 102, "users": 80}
]
Learn how API routing works ↗

Applications

Cloud-native API Backend

Create API backends from the data in your data warehouse only with SQL, no boilerplate needed