Full Stack FastAPI Template architecture.
Full Stack FastAPI Template is a full-stack web app template with a FastAPI backend and a React frontend. Nodeway mapped the fastapi/full-stack-fastapi-template repository at commit f8c6c14, from 26 November 2026, and found 132 source files, 349 functions, classes and components, 23 routes and 2 database tables. This page is drawn from that map.
- Source files
- 132
- Functions and classes
- 349
- Confirmed calls
- 257
- Routes
- 23
- Tables
- 2
How the code is laid out
Most of it is TypeScript: 96 files of 132, followed by Python (28) and Shell (8).
The repository is split into 6 packages: folders with their own manifest, such as a package.json, pyproject.toml or go.mod. The largest are frontend (88 files), backend (30 files), backend/app (25 files), backend/app/api (9 files), packages/react-email (8 files) and backend/app/core (4 files).
These are its top-level folders by number of source files. The biggest ones show their own largest folders underneath.
- frontend/package88 files
- src/85 files
- backend/package30 files23 routes · 2 tables
- app/package25 files23 routes · 2 tables
- scripts/5 files
- packages/react-email/package8 files
- ui/5 files
- emails/3 files
- scripts/5 files
- hooks/1 file
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:
| File | Reaches |
|---|---|
| frontend/src/main.tsx | 73 files |
| backend/app/main.py | 16 files |
| backend/app/api/main.py | 15 files |
| frontend/src/components/Sidebar/Main.tsx | 9 files |
| backend/app/initial_data.pydefines main | 6 files |
| scripts/add_latest_release_date.pydefines main | – |
Routes
Nodeway found 23 routes and linked 23 to the function that handles them. They by HTTP method: POST 10, GET 6, DELETE 3, PATCH 3, PUT 1. All are under backend/app (23).
Some of them
| Route | Method |
|---|---|
| /api/v1/itemsread_items · backend/app/api/routes/items.py | GET |
| /api/v1/usersread_users · backend/app/api/routes/users.py | GET |
| /api/v1/private/userscreate_user · backend/app/api/routes/private.py | POST |
| /api/v1/reset-passwordreset_password · backend/app/api/routes/login.py | POST |
| /api/v1/utils/test-emailtest_email · backend/app/api/routes/utils.py | POST |
| /api/v1/itemscreate_item · backend/app/api/routes/items.py | POST |
| /api/v1/userscreate_user · backend/app/api/routes/users.py | POST |
| /api/v1/users/meread_user_me · backend/app/api/routes/users.py | GET |
Data model
Nodeway found 2 database tables, defined with SQLModel. Code in the repository reads or writes 2 of them. The most used:
| Table | Used by |
|---|---|
| user2 columns · backend/app/models.py | 5 read2 write |
| item3 columns · backend/app/models.py | 2 read3 write |
One request, traced
Nodeway followed POST /api/v1/login/access-token from its route to the code that handles it, then along confirmed calls until it reached the user table.
- POST /api/v1/login/access-tokenroute · backend/app/api/routes/login.py
- login_access_tokenfunction · backend/app/api/routes/login.py:24
- authenticatefunction · backend/app/crud.py:45
- get_user_by_emailfunction · backend/app/crud.py:34
- usertable · 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.
| Function | Callers |
|---|---|
| cnfunction · frontend/src/lib/utils.ts | 103 |
| useCustomToasthook · frontend/src/hooks/useCustomToast.ts | 12 |
| useAuthhook · frontend/src/hooks/useAuth.ts | 10 |
| get_user_by_emailfunction · backend/app/crud.py | 8 |
| useSidebarhook · frontend/src/components/ui/sidebar.tsx | 7 |
| isLoggedInfunction · frontend/src/hooks/useAuth.ts | 6 |
| get_password_hashfunction · backend/app/core/security.py | 4 |
| serializePrimitiveParamfunction · frontend/src/client/core/pathSerializer.gen.ts | 4 |
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/fastapi/full-stack-fastapi-template.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
cnand 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 Full Stack FastAPI Template written in?
Mostly TypeScript: 96 of its 132 source files at commit f8c6c14, then Python with 28.
Where does the Full Stack FastAPI Template code start?
The entry point that reaches the most code is frontend/src/main.tsx, which leads to 73 files through its imports.
How many routes does Full Stack FastAPI Template have?
Nodeway found 23 routes, 23 of them linked to a handler. The most are under backend/app.
What database tables does Full Stack FastAPI Template use?
2 tables, defined with SQLModel. The most used are user and item.
How this page was made
Generated from a map Nodeway's analyzer (version 18) made of fastapi/full-stack-fastapi-template at commit f8c6c14, committed on 26 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.