Repo map

Strapi architecture.

Strapi is an open-source headless CMS. Nodeway mapped the strapi/strapi repository at commit a8555e1, from 27 November 2026, and found 3,871 source files, 8,697 functions, classes and components and 1 route. This page is drawn from that map.

Free to start. macOS (Apple silicon and Intel), Windows and Linux.
Source files
3,871
Functions and classes
8,697
Confirmed calls
13,350
Routes
1
Tables
0

How the code is laid out

Most of it is TypeScript: 3,320 files of 3,871, followed by JavaScript (544) and Shell (7).

The repository is split into 66 packages: folders with their own manifest, such as a package.json, pyproject.toml or go.mod. The largest are packages/core/admin (551 files), packages/core/upload (375 files), packages/core/content-manager (320 files), packages/core/content-type-builder (254 files), packages/core/core (253 files) and packages/core/types (166 files).

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

  • packages/3,489 files1 route
  • core/2,632 files1 route
  • plugins/432 files
  • utils/180 files
  • cli/147 files
  • providers/47 files
  • generators/generators/package27 files
  • examples/199 files
  • getstarted/package92 files
  • complex/package48 files
  • plugins/24 files
  • tests-next/55 files
  • shared/package27 files
  • ui/package22 files
  • api/package3 files
  • .github/42 files
  • actions/37 files
  • scripts/package5 files
  • scripts/29 files
  • front/package15 files
  • ai-tooling/3 files
  • open-api/1 file
  • docs/package26 files
  • src/15 files
  • plugins/workspace-packages/4 files
  • docs/api/components/1 file
  • templates/website/package19 files
  • src/13 files
  • config/6 files

Where the code starts

Nodeway looked for files that define a main function, and for files named like a starting point (main, server, app, cli and similar) that at most one other file imports, then for index files that nothing imports. Ranked that way, then by how many files each one reaches through its imports:

FileReaches
packages/core/strapi/src/cli/commands/start.ts493 files
packages/core/content-manager/server/src/bootstrap.ts150 files
packages/core/review-workflows/server/src/bootstrap.ts23 files
.github/actions/draft-release/index.tsdefines main12 files
scripts/front/verify-translations/index.tsdefines main5 files
.github/actions/check-pr-status/index.jsdefines main–

Routes

Nodeway found 1 route and linked 1 to the function that handles them. They by HTTP method: ALL 1. All are under packages/core (1).

Some of them

RouteMethod
/_healthhealthCheck · packages/core/core/src/services/server/index.tsALL

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
querymethod · packages/core/database/src/index.ts278
useNotificationhook · packages/core/admin/admin/src/features/Notifications.tsx137
getTranslationKeyfunction · packages/core/upload/admin/src/utils/translations.ts87
getmethod · packages/core/database/src/metadata/metadata.ts81
useQueryParamshook · packages/core/admin/admin/src/hooks/useQueryParams.ts79
useAPIErrorHandlerhook · packages/core/admin/admin/src/hooks/useAPIErrorHandler.ts71
getTradfunction · packages/core/content-type-builder/admin/src/utils/getTrad.ts66
transactionmethod · packages/core/database/src/index.ts61

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/strapi/strapi.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 query 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 Strapi written in?

Mostly TypeScript: 3,320 of its 3,871 source files at commit a8555e1, then JavaScript with 544.

Where does the Strapi code start?

The entry point that reaches the most code is packages/core/strapi/src/cli/commands/start.ts, which leads to 493 files through its imports.

How many routes does Strapi have?

Nodeway found 1 route, 1 of them linked to a handler. The most are under packages/core.

How this page was made

Generated from a map Nodeway's analyzer (version 18) made of strapi/strapi at commit a8555e1, committed on 27 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