const express = require('express');
const router = express.Router();
const bookController = require('../controllers/bookController');

router.get('/search', bookController.searchBooks);
router.get('/books', bookController.getBooks);
router.post('/books', bookController.createBook);

module.exports = router;