calender crud operations

This commit is contained in:
Julian Krauser 2024-10-27 11:47:13 +01:00
parent e7b8257336
commit bf701163d6
18 changed files with 703 additions and 0 deletions

10
src/routes/public.ts Normal file
View 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;