estatesfunding/ef-api/routes/mysqlproperty.js

11 lines
293 B
JavaScript
Raw Permalink Normal View History

2024-09-17 14:36:35 +00:00
import express from "express";
2024-09-20 11:18:56 +00:00
import { searchMySQL, PropertiesMysqlView } from "../controllers/mysqlproperty.js";
2024-09-17 14:36:35 +00:00
const router = express.Router();
// Define the route
router.get("/searchmysql", searchMySQL);
2024-09-20 11:18:56 +00:00
router.get("/properties/:house_id", PropertiesMysqlView);
2024-09-17 14:36:35 +00:00
export default router;