From 61ee5245e2792e456232f88d4dbfdb7b4d0185c2 Mon Sep 17 00:00:00 2001 From: xnacly Date: Fri, 3 Sep 2021 21:28:07 +0200 Subject: added template for future routes --- api/src/routes/template.ts.disabled | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 api/src/routes/template.ts.disabled diff --git a/api/src/routes/template.ts.disabled b/api/src/routes/template.ts.disabled new file mode 100644 index 00000000..ad785f10 --- /dev/null +++ b/api/src/routes/template.ts.disabled @@ -0,0 +1,10 @@ +//TODO: this is a template for a generic route + +import { Router, Request, Response } from "express"; +const router = Router(); + +router.get("/", async (req: Request, res: Response) => { + res.send({}); +}); + +export default router; -- cgit 1.4.1