Repo map

Saleor architecture.

Saleor is a headless commerce API built on Django. Nodeway mapped the saleor/saleor repository at commit e1ccf4d, from 20 November 2026, and found 2,644 source files, 12,897 functions, classes and components, 9 routes and 107 database tables. This page is drawn from that map.

Free to start. macOS (Apple silicon and Intel), Windows and Linux.
Source files
2,644
Functions and classes
12,897
Confirmed calls
9,442
Routes
9
Tables
107

How the code is laid out

Most of it is Python: 2,641 files of 2,644, followed by Shell (2) and GraphQL (1).

The repository is split into 30 packages: folders with their own manifest, such as a package.json, pyproject.toml or go.mod. The largest are saleor (2,630 files), saleor/graphql (706 files), saleor/order (313 files), saleor/product (285 files), saleor/account (149 files) and saleor/checkout (145 files).

These are its top-level folders by number of source files, with 2 more files at the root. The biggest ones show their own largest folders underneath.

  • saleor/package2,630 files9 routes · 107 tables
  • graphql/package706 files7 tables
  • order/package313 files7 tables
  • product/package285 files12 tables
  • account/package149 files7 tables
  • checkout/package145 files4 tables
  • discount/package125 files12 tables
  • .semgrep/9 files
  • correctness/5 files
  • security/3 files
  • best-practice/1 file
  • .claude/skills/filter-benchmark/1 file
  • .worktree-container/1 file
  • scripts/1 file

Routes

Nodeway found 9 routes and linked 8 to the function that handles them. All are under saleor (9).

Some of them

RouteMethod
/^$home · saleor/urls.pyANY
/^graphql/$GraphQLView · saleor/urls.pyANY
/^static/(?P<path>.*)$saleor/urls.pyANY
/^\.well-known/jwks.json$jwks · saleor/urls.pyANY
/^plugins/(?P<plugin_id>[.0-9A-Za-z_\-]+)handle_plugin_webhook · saleor/urls.pyANY
/^image/(?P<instance_id>[.0-9A-Za-z_=\-]+)/$handle_original_image · saleor/urls.pyANY
/^plugins/global/(?P<plugin_id>[.0-9A-Za-z_\-]+)handle_global_plugin_webhook · saleor/urls.pyANY
/^plugins/channel/(?P<channel_slug>[.0-9A-Za-z_\-]+)/(?P<plugin_id>[.0-9A-Za-z_\-]+)handle_plugin_per_channel_webhook · saleor/urls.pyANY

Data model

Nodeway found 107 database tables, defined with Django ORM. Code in the repository reads or writes 98 of them. The most used:

TableUsed by
order_order55 columns · links to account_address, account_user and channel_channel · saleor/order/models.py69 read30 write
product_product12 columns · links to product_category, product_producttype and product_productvariant · saleor/product/models.py77 read12 write
channel_channel24 columns · saleor/channel/models.py58 read15 write
order_orderevent7 columns · links to app_app and order_order · saleor/order/models.py11 read55 write
checkout_checkout49 columns · links to account_address, channel_channel and checkout_checkoutdelivery · saleor/checkout/models.py42 read15 write
account_user22 columns · links to account_address and account_customertype · saleor/account/models.py43 read11 write
product_productvariant12 columns · links to product_product and product_productmedia · saleor/product/models.py51 read3 write
order_orderline41 columns · links to order_order, product_productvariant and tax_taxclass · saleor/order/models.py28 read20 write

One request, traced

Nodeway followed ANY /^plugins/channel/(?P<channel_slug>[.0-9A-Za-z_\-]+)/(?P<plugin_id>[.0-9A-Za-z_\-]+) from its route to the code that handles it, then along confirmed calls until it reached the channel_channel table.

  1. ANY /^plugins/channel/(?P<channel_slug>[.0-9A-Za-z_\-]+)/(?P<plugin_id>[.0-9A-Za-z_\-]+)route · saleor/urls.py
  2. handle_plugin_per_channel_webhookfunction · saleor/plugins/views.py:23
  3. webhookmethod · saleor/plugins/manager.py:2728
  4. get_pluginmethod · saleor/plugins/manager.py:2697
  5. get_pluginsmethod · saleor/plugins/manager.py:2516
  6. _ensure_channel_plugins_loadedmethod · saleor/plugins/manager.py:151
  7. channel_channeltable · read here

The most-called code

Ranked by how many different functions call each one, counting only calls the analyzer could confirm from the code. These are often the helpers worth reading first.

FunctionCallers
get_plugin_manager_promisefunction · saleor/graphql/plugins/dataloaders.py264
__run_method_on_pluginsmethod · saleor/plugins/manager.py171
get_database_connection_namefunction · saleor/graphql/core/context.py165
traced_atomic_transactionfunction · saleor/core/tracing.py148
call_eventmethod · saleor/graphql/core/mutations.py145
get_user_or_app_from_contextfunction · saleor/graphql/utils/__init__.py116
quantize_pricefunction · saleor/core/prices.py111
allow_writerfunction · saleor/core/db/connection.py103

Open this repo in Nodeway

Nodeway is a desktop app that draws this map on your own computer, so you can click into any folder, read the code beside the map and trace a request yourself. Clone the repository:

git clone https://github.com/saleor/saleor.git
  • Install Nodeway for macOS, Windows or Linux: the getting started guide has every installer.
  • Open the cloned folder. The first map is drawn on your machine and nothing is uploaded.
  • Search for get_plugin_manager_promise and trace what it calls, or pick a route and follow it to the database.

New to reading a codebase this size? See how to understand a large codebase and how to read a call graph.

Questions

What language is Saleor written in?

Mostly Python: 2,641 of its 2,644 source files at commit e1ccf4d, then Shell with 2.

How many routes does Saleor have?

Nodeway found 9 routes, 8 of them linked to a handler. The most are under saleor.

What database tables does Saleor use?

107 tables, defined with Django ORM. The most used are order_order, product_product and channel_channel.

How this page was made

Generated from a map Nodeway's analyzer (version 18) made of saleor/saleor at commit e1ccf4d, committed on 20 November 2026. Tests, dependencies and build output are mostly left out. A call counts only when the analyzer could confirm its target from the code, so real totals are higher. The project will have changed since.

More codebases, mapped

All repo maps

See your whole codebase in minutes.

Open a folder and Nodeway maps it on your own computer. No account, and nothing is uploaded.

More guides