estatesfunding/ef-api/routes/user.js

13 lines
311 B
JavaScript
Raw Normal View History

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