eletrotupi / tcc/ api/src/routes/auth.ts6b4f982cf194aa9934750aa0309b23eb2e6dccf4
357 B | 11 lines Raw
1
import { Router } from 'express';
2
import { AuthController } from '@app/controllers/auth';
3

4
const router = Router();
5

6
router.post('/login', AuthController.login);
7
router.post('/forgot-password', AuthController.forgotPassword);
8
router.post('/reset-password', AuthController.resetPassword);
9
router.get('/verify', AuthController.verify);
10

11
export default router;