import express from 'express'; const router = express.Router(); import auth from '../middleware/auth.js'; import { createProperty } from '../controllers/property.js'; router.post('/', auth, createProperty); export default router;