Enhance documentation and management commands for ThrillWiki

- Updated backend README.md to include detailed management commands for configuration, database operations, cache management, data management, user authentication, content/media handling, trending/discovery, testing/development, and security/auditing.
- Added a new MANAGEMENT_COMMANDS.md file for comprehensive command reference.
- Included logging standardization details in architecture documentation (ADR-007).
- Improved production checklist with configuration validation and cache verification steps.
- Expanded API documentation to include error logging details.
- Created a documentation review checklist to ensure completeness and accuracy.
This commit is contained in:
pacnpal
2025-12-23 21:28:14 -05:00
parent edcd8f2076
commit ca770d76ff
10 changed files with 1649 additions and 13 deletions

View File

@@ -1243,6 +1243,18 @@ headers: {
All error responses follow a consistent format with appropriate HTTP status codes.
### Error Logging
All API errors are logged with full context for debugging:
- Request details (method, path, user)
- Error type and message
- Stack trace (for 500 errors)
- Request payload (sanitized)
Logs are sent to Sentry in production for monitoring.
See [ADR-007: Logging Standardization](./architecture/adr-007-logging-standardization.md) for details.
### Error Response Structure
```json
{