estatesfunding/ef-api/routes/user.js

12 lines
251 B
JavaScript
Raw Normal View History

2024-09-04 00:52:26 +00:00
import express from "express";
const router = express.Router();
2024-09-06 15:02:20 +00:00
import { signup, signin,showUser } from "../controllers/user.js";
2024-09-04 00:52:26 +00:00
router.post("/signin", signin);
router.post("/signup", signup);
2024-09-06 15:02:20 +00:00
router.get('/:id', showUser);
2024-09-04 00:52:26 +00:00
export default router;