# backend/src/

## Files

| File | What | When to read |
| ---- | ---- | ------------ |
| `app.ts` | Fastify application setup and routes | Route registration, middleware setup |
| `index.ts` | Application entry point | Server startup, initialization |

## Subdirectories

| Directory | What | When to read |
| --------- | ---- | ------------ |
| `features/` | Feature capsules (self-contained modules) | Feature development, API endpoints |
| `core/` | Shared infrastructure (auth, config, logging) | Cross-cutting concerns, plugins |
| `_system/` | System utilities (migrations, CLI, schema) | Database migrations, schema generation |
| `shared-minimal/` | Minimal shared utilities | Shared type utilities |
| `scripts/` | Backend-specific scripts | Utility scripts |
