How-To Guides¶
Task-focused guides for common operations.
In This Section¶
| Guide | What You'll Accomplish |
|---|---|
| Add a New Domain | Create a complete feature domain |
| Custom Exception Handling | Map domain exceptions to HTTP responses |
| Override IoC in Tests | Mock dependencies for testing |
| Add Celery Task | Create background tasks |
| Secure Endpoints | Add authentication and permissions |
| Configure Observability | Set up logging and tracing |
How to Use These Guides¶
These guides assume you:
- Have completed the Quick Start
- Understand basic Concepts
Each guide focuses on a specific task with step-by-step instructions.
Quick Reference¶
Adding Features¶
| Task | Guide |
|---|---|
| New model + service + API | Add a New Domain |
| Background processing | Add Celery Task |
| Protected endpoints | Secure Endpoints |
Testing¶
| Task | Guide |
|---|---|
| Mock services | Override IoC in Tests |
| Test authenticated endpoints | Override IoC in Tests |
Operations¶
| Task | Guide |
|---|---|
| Enable Logfire | Configure Observability |
| Custom error responses | Custom Exception Handling |