place.routes.js 431 Bytes
Newer Older
Kim, Chaerin's avatar
?    
Kim, Chaerin committed
1
2
3
4
5
import express from 'express'
import place from '../controllers/place.controller.js'

const router = express.Router()

Lee SeoYeon's avatar
merge    
Lee SeoYeon committed
6
7
8
9
10
// router.route('/api/search/places')
//     .get(place.searchPlace, place.searchImg, place.searchAssociation)

// router.route('/api/search/imges')
//     .get(place.searchImg)
baesangjune's avatar
.    
baesangjune committed
11
12


Kim, Chaerin's avatar
Kim, Chaerin committed
13
router.route('/api/search/association')
Lee SeoYeon's avatar
merge    
Lee SeoYeon committed
14
    .get(place.searchPlace, place.searchImg, place.searchAssociation)
Kim, Chaerin's avatar
?    
Kim, Chaerin committed
15
16

export default router