Files
vibetorrent/frontend/src/components
spinline 3ffc7576a0
All checks were successful
Build MIPS Binary / build (push) Successful in 4m24s
feat: add centralized API service layer for frontend
- Create frontend/src/api/mod.rs with centralized HTTP client and error handling
- Implement api::auth module (login, logout, check_auth, get_user)
- Implement api::torrent module (add, action, delete, start, stop, set_label, set_priority)
- Implement api::setup module (get_status, setup)
- Implement api::settings module (set_global_limits)
- Implement api::push module (get_public_key, subscribe)
- Update all components to use api service layer instead of direct gloo_net calls
- Add thiserror dependency for error handling
2026-02-08 23:04:24 +03:00
..