aboutsummaryrefslogtreecommitdiffstats
path: root/api/api.go
Commit message (Collapse)AuthorAgeFilesLines
* Refactor backend to a clean REST APIAdam Mathes13 days1-0/+207
- 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