calender crud operations
This commit is contained in:
parent
e7b8257336
commit
bf701163d6
18 changed files with 703 additions and 0 deletions
10
src/routes/public.ts
Normal file
10
src/routes/public.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
import express from "express";
|
||||
import { getCalendarItemsByTypes } from "../controller/publicController";
|
||||
|
||||
var router = express.Router({ mergeParams: true });
|
||||
|
||||
router.get("/calendar", async (req, res) => {
|
||||
await getCalendarItemsByTypes(req, res);
|
||||
});
|
||||
|
||||
export default router;
|
Loading…
Add table
Add a link
Reference in a new issue