acme-shop-api
REST API for an online shop: authentication, product catalog and orders.
30
Files analyzed
24
Parsed (symbols + deps)
11
Directories
512
Lines of code
7
API endpoints
48
Symbols
Stack
typescript · 24 files · 422 linesjson · 2 files · 35 linessql · 1 files · 22 linespython · 1 files · 15 linesmarkdown · 1 files · 13 linestext · 1 files · 5 lines
Frameworks and technologies
ExpressPostgreSQL (pg)JWTbcryptStripeNodemailerZodTypeScriptVitest
Start here
Entry points
- — Process entry point: checks the database, builds the app and starts listening. (package.json script "dev")
Detected API endpoints
Main modulesView architecture
Services · 5Routes · 4Controllers · 3Repositories · 3Entry · 2Middleware · 2Tests · 2Config · 1Database · 1Models · 1
Architecture summary: 10 layer(s) detected from directory names and file conventions, talking to PostgreSQL, SMTP server, Stripe API. Derived from directory structure and imports, not from AI.
Dependency overviewExplore dependencies
Most depended-on files
- 8 importers
- 5 importers
- 5 importers
- 4 importers
- 4 importers
50 internal imports · 7 runtime packages · 3 dev packages
Potential structural concerns
- FactCircular dependency: ⇄
- Fact4 service file(s) import from the HTTP middleware layer (src/middleware/error.middleware.ts), coupling business logic to the web framework.
Analysis summaryComplete with skipped items
Analyzed 30 files in 58 ms. Skipped about 44,388 files across 8 items. 24 files were parsed for symbols and imports; 6 are indexed as text only (unsupported language or non-code).
| Skipped item | Reason | Detail | Files |
|---|---|---|---|
| node_modules/ | Ignored directory | Third-party dependencies (default ignore list) | 41,812 |
| .git/ | Ignored directory | Version-control metadata (default ignore list) | 2,390 |
| dist/ | Ignored directory | Build output (default ignore list) | 64 |
| coverage/ | Ignored directory | Test coverage output (default ignore list) | 118 |
| package-lock.json | Ignored pattern | Lock file (generated, 612 KB) | 1 |
| assets/logo.png | Binary file | Binary image, not analyzable (18 KB) | 1 |
| assets/catalog-seed.xlsx | Binary file | Binary spreadsheet, not analyzable (240 KB) | 1 |
| docs/architecture-export.json | Too large | 2.8 MB exceeds the 1 MB per-file limit | 1 |
Nothing is dropped silently: every skipped item appears above with its reason.