Operational Endpoints for Admin, Products, Assignments, Location, Vendor, Venue completed. Geofence Testing PEnding

This commit is contained in:
Shibi Chakkaravarthy
2026-06-14 08:04:31 +05:30
parent 5326235183
commit 36e1bf664f
26 changed files with 1392 additions and 25 deletions
+14 -2
View File
@@ -1,6 +1,12 @@
import { Router } from "express";
import { authorizeWithEncryptedKey } from "../middlewares/jwt.middleware";
import { createLocationController } from "../controllers/location.controller";
import {
authorize,
authorizeWithEncryptedKey,
} from "../middlewares/jwt.middleware";
import {
createLocationController,
getMyAssignedVenuesHandler,
} from "../controllers/location.controller";
const router = new Router();
@@ -10,4 +16,10 @@ router.post(
createLocationController,
);
router.get(
"/venues/assigned/me",
authorize("generic", "generic"),
getMyAssignedVenuesHandler,
);
export default router;