survey.route.ts 265 Bytes
Newer Older
Jiwon Yoon's avatar
Jiwon Yoon committed
1
2
3
4
5
6
7
8
import express from "express";
import { surveyCtrl } from "../controllers";

const router = express.Router();

router
  .route("/create")
  .post(surveyCtrl.createSurvey);
Lee SeoYeon's avatar
0711    
Lee SeoYeon committed
9
  
Lee SeoYeon's avatar
.    
Lee SeoYeon committed
10
11
12
// router
//   .route("/profile")
//   .get(surveyCtrl.getSurveys)
Jiwon Yoon's avatar
Jiwon Yoon committed
13
export default router;