This commit is contained in:
seb
2026-09-30 17:35:20 +02:00
parent 82cc138ba6
commit caacbe4968
9 changed files with 366 additions and 0 deletions

View File

@@ -2,6 +2,8 @@ import { Router } from 'express';
import { posAuthMiddleware } from './middleware/posAuth.js';
import { handleClient } from './routes/client.js';
import { handleInit } from './routes/init.js';
import { handleCategory } from './routes/category.js';
import { handleProduct } from './routes/product.js';
const router = Router();
@@ -11,5 +13,9 @@ router.get('/client', handleClient);
// POS sync initialization counts
router.get('/init', posAuthMiddleware, handleInit);
// POS master data synchronization
router.get('/category', posAuthMiddleware, handleCategory);
router.get('/product', posAuthMiddleware, handleProduct);
export default router;