const express = require("express");
const {
  register,
  login,
  logout,
  getSession,
  recoverPassword
} = require("../controllers/userController");

const router = express.Router();

router.post("/register", register);
router.post("/login", login);
router.post("/logout", logout);
router.get("/session", getSession);
router.post("/recover-password", recoverPassword);

module.exports = router;
