mirror of
https://github.com/GithubOrgProjectPiza/server.git
synced 2026-09-04 23:33:59 +02:00
11 lines
323 B
TypeScript
11 lines
323 B
TypeScript
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;
|