<?php

/**
 * Auth routes
 */
$app->post('/login', \Controllers\AuthController::class . ':login');

/**
 * Settings routes
 */
$app->get('/settings', \Controllers\SettingsController::class . ':getSettings');
$app->patch('/settings', \Controllers\SettingsController::class . ':setSettings');

/**
 * Users routes
 */
$app->get('/users', \Controllers\UserController::class . ':getUserList');
$app->get('/users/by-username', \Controllers\UserController::class . ':getUserListByUsernames');
