review.routes.js 228 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
import express from 'express'
import review from '../controllers/review.controller.js'

const router = express.Router()

router.route('/api/review/:search')
    .post(review.signup)
    .get(review.search)

export default router