saveinmed/backend/internal/http/handler
Tiago Yamamoto c9a08c8621 test: add automated tests for admin login
Backend:
- TestAdminLogin_Success: verify admin login with username
- TestAdminLogin_WrongPassword: verify 401 for wrong password

Frontend (Marketplace):
- auth.test.ts: mocked tests for login/logout (5 tests)
- auth.integration.test.ts: real API tests (3 tests, skipped in CI)
2025-12-22 00:31:26 -03:00
..
cart_handler.go refactor(handler): extract order and cart handlers 2025-12-20 08:06:07 -03:00
company_handler.go feat: tenant model, seeder, and product search with distance 2025-12-20 09:03:13 -03:00
dashboard_handler.go refactor(handler): complete package decomposition - 92% extracted 2025-12-20 08:10:56 -03:00
dto.go feat(backend): switch auth to username and cleanup db config 2025-12-21 23:04:47 -03:00
handler.go feat(backend): switch auth to username and cleanup db config 2025-12-21 23:04:47 -03:00
handler_test.go test: add automated tests for admin login 2025-12-22 00:31:26 -03:00
marketplace_handler.go Add full auth endpoints and swagger updates 2025-12-21 22:37:54 -03:00
order_handler.go feat(pagination): add pagination to all list endpoints 2025-12-20 08:37:59 -03:00
payment_handler.go refactor(handler): complete package decomposition - 92% extracted 2025-12-20 08:10:56 -03:00
product_handler.go feat: tenant model, seeder, and product search with distance 2025-12-20 09:03:13 -03:00
shipping_handler.go Add shipping settings and calculation 2025-12-20 10:47:37 -03:00
user_handler.go feat(backend): switch auth to username and cleanup db config 2025-12-21 23:04:47 -03:00