-
-
Save amandeepmittal/6122d8ace3916c1a40af7f48a4a2ecf1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import express from 'express'; | |
import { signin, signout } from '../controllers/auth'; | |
const router = express.Router(); | |
router.route('/auth/signin').post(signin); | |
router.route('/auth/signout').get(signout); | |
export default router; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment