aboutsummaryrefslogtreecommitdiffstats
path: root/api/api_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Backend: Fix linting issues, improve error handling, and replace magic numbersAdam Mathes10 days1-27/+27
|
* Refactor: project structure, implement dependency injection, and align v2 UI ↵Adam Mathes11 days1-53/+60
| | | | with v1
* refactor(backend): improve testability and add tests (NK-6q9nyg)Adam Mathes12 days1-0/+66
|
* wip: tui updates (buggy)Adam Mathes13 days1-3/+239
|
* Refactor backend to a clean REST APIAdam Mathes13 days1-0/+151
- Created new 'api' package with testable router and RESTful handlers - Handlers in 'api' use proper HTTP methods and status codes - Standardized JSON responses and error handling - Refactored 'web' package to delegate logic to 'api' - Maintained backward compatibility for legacy frontend routes - Simplified 'web/web_test.go' and added comprehensive 'api/api_test.go' - All tests passing with improved modularity