location controller updated with heading and created new models and controllers for remaining modules

This commit is contained in:
Shibi Chakkaravarthy
2026-05-04 20:57:03 +05:30
parent 1245e09111
commit 54d9508dc8
31 changed files with 2140 additions and 96 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import { Router } from "express";
import {
createOrEditProfileController,
getProfileController,
getOwnProfileController,
} from "../controllers/profile.controller";
import { authorize } from "../middlewares/jwt.middleware";
@@ -12,6 +12,6 @@ router.post(
authorize("generic", "generic"),
createOrEditProfileController,
);
router.get("/", authorize("generic", "generic"), getProfileController);
router.get("/", authorize("generic", "generic"), getOwnProfileController);
export default router;