const express = require('express');
const router = express.Router();
const externalDataController = require('../controllers/externalDataController');
const { requireAuth } = require('../middleware/auth');

// All external data routes require authentication
router.use(requireAuth);

// Route for City of Edmonton Parcel Addresses
router.get('/edmonton-parcels', externalDataController.getEdmontonParcelAddresses);

module.exports = router;
