import { Router } from 'express';
import AdminController from '../controllers/adminController';

const router = Router();
const adminController = new AdminController();

router.get('/overview', adminController.getOverview.bind(adminController));
router.get('/users', adminController.getTotalUsers.bind(adminController));
router.get('/revenue', adminController.getRevenueTracking.bind(adminController));
router.get('/trade-volume', adminController.getTradeVolume.bind(adminController));
router.get('/api-sync-health', adminController.getApiSyncHealth.bind(adminController));
router.get('/error-logs', adminController.getErrorLogs.bind(adminController));

export default router;
