Add routes for admin authentication endpoints

+ Add router to the app
This commit is contained in:
Stephan
2021-12-29 15:19:10 +01:00
parent 584903e55d
commit eb70a14c61
2 changed files with 12 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import express from "express";
import { authenticateUser } from "../Controllers/admin_auth.controller";
const router = express.Router();
router.post("/", authenticateUser);
export default router;