auth.route.ts 271 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
import express from "express";
import { authCtrl } from "../controllers";

const router = express.Router();

router.route("/signup").post(authCtrl.signup);
router.route("/login").post(authCtrl.login);
router.route("/logout").get(authCtrl.logout);

export default router;