Merge branch 'dev' into routes-implementation

This commit is contained in:
Stone_Red
2022-05-04 11:53:46 +02:00
committed by GitHub
17 changed files with 537 additions and 3750 deletions
+10
View File
@@ -0,0 +1,10 @@
import { Router } from "express";
import { authenthicate, register } from "../controller/auth.controller";
import { getAuthenthication } from "../middleware/auth.middle";
const router = Router();
router.post("/register", getAuthenthication, register);
router.post("/authenthicate",authenthicate);
export default router;