estatesfunding/ef-api/routes/user.js

13 lines
311 B
JavaScript

import express from "express";
const router = express.Router();
import { signup, signin, verifyUser, showUser } from "../controllers/user.js";
router.post("/signin", signin);
router.post("/signup", signup);
router.get('/:id/verify/:token/', verifyUser);
router.get('/:id', showUser);
export default router;