(feat) added handler

This commit is contained in:
Rorik Star Platinum 2025-11-05 17:30:50 +03:00
parent 5b3c2d4ec7
commit de7c0f7110
8 changed files with 203 additions and 32 deletions

View file

@ -15,7 +15,7 @@ pub fn router(app_state: AppState) -> Router {
Router::new()
// GET /api/health — health-check эндпоинт
.route("/api/health", get(handlers::health_handler))
.route("/api/test-token", get(handlers::test_token_handler))
// Сюда добавим новые роуты по мере разработки:
// .route("/api/accounts", get(handlers::accounts::get_accounts))
// .route("/api/payments", post(handlers::payments::create_payment))