A Real dbt Project to Learn From (Ready to Run, Free)

The dbt Lab on Data Utility starts with a complete small project you can run and change: a shop with customers, orders and payments, built the way real teams build dbt projects. You run it with dbt Core and DuckDB in Docker on your laptop; nothing to sign up for.

Open the dbt Lab

The layout

seeds/            raw_customers.csv, raw_orders.csv, raw_payments.csv
models/staging/   stg_customers, stg_orders, stg_payments (views) + _sources.yml + tests
models/marts/     orders (payments pivoted with Jinja), customers (lifetime value)
macros/           cents_to_dollars
tests/            assert_no_negative_amounts (singular test)

What it teaches

  • **Layering**: raw → staging (clean names, types) → marts (business tables).
  • **source() and ref()**: how dbt knows the build order. See it in the Lineage tab.
  • **Tests**: unique, not_null, accepted_values, relationships, plus a singular SQL test.
  • **Jinja**: a for loop that writes one column per payment method; compile shows the SQL.
  • **Incremental models and snapshots** in the Going further lessons.

Make it yours

Add a model (Project → New file), upload a CSV into seeds/, or bring a real project: load it in SQL Project Lineage and download generated test seeds from the Test data tab. For a portfolio, extend the shop with a new mart (for example monthly revenue by country), add tests and docs, and push it to GitHub.

Open the dbt Lab

Also try

How to use the dbt Lab: step by step

  1. Start the dbt Lab
  2. Press Seed, then Build
  3. Open Lineage and Preview
  4. Add your own model and tests

When to use the dbt Lab

  • Learning dbt on something realistic
  • Building a portfolio project
  • Showing dbt skills in an interview

Frequently asked questions

Where can I find a real dbt project to practise on?

The dbt Lab on datautility.in includes a complete shop project with seeds, staging, marts, tests, a macro, incremental models and snapshots. It runs free in Docker with DuckDB.