place.routes.js 340 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()

Kim, Chaerin's avatar
Kim, Chaerin committed
6
router.route('/api/search/imges')
baesangjune's avatar
.    
baesangjune committed
7
8
    .get(place.searchImg)

Kim, Chaerin's avatar
Kim, Chaerin committed
9
router.route('/api/search/places')
baesangjune's avatar
.    
baesangjune committed
10
11
    .get(place.searchPlace)

Kim, Chaerin's avatar
Kim, Chaerin committed
12
router.route('/api/search/association')
baesangjune's avatar
.    
baesangjune committed
13
    .get(place.searchAssociation)
Kim, Chaerin's avatar
?    
Kim, Chaerin committed
14
15

export default router