estatesfunding/ef-api/routes/property.js

11 lines
234 B
JavaScript

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;