ADD file via upload

main
phgkfux43 4 months ago
parent 52e5b834d4
commit b0256e4e9f

@ -0,0 +1,10 @@
const express = require('express');
const router = express.Router();
const authController = require('../controllers/auth');
const { protect } = require('../middlewares/auth');
router.post('/register', authController.register);
router.post('/login', authController.login);
router.get('/me', protect, authController.getMe);
module.exports = router;
Loading…
Cancel
Save