feat(dashboard): add aggregated dashboard stats API, robust logout, and warehouse seeders
deploy-chabokan / deploy (push) Canceled after 0s

This commit is contained in:
2026-08-30 09:29:21 +03:30
parent 9b88b342ad
commit 576ccf5421
8 changed files with 457 additions and 11 deletions
+12
View File
@@ -0,0 +1,12 @@
const express = require('express')
const dashboardController = require('./dashboardController')
const loginCheck = require('../../middlewares/loginCheck')
const router = new express.Router()
router.use(loginCheck.loginProtect)
router.get('/stats', dashboardController.getDashboardStats)
router.get('/summary', dashboardController.getDashboardStats)
module.exports = router