estatesfunding/ef-api/routes/user.js

12 lines
251 B
JavaScript

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