const express = require("express");
const { createService, getServices } = require("../controller/serviceController");
const { requireAuth } = require("../middleware/auth");

const router = express.Router();

router.get("/", requireAuth, getServices);
router.post("/", requireAuth, createService);

module.exports = router;
