added template for future routes
This commit is contained in:
parent
77a87acfe6
commit
afff55cb59
10
api/src/routes/template.ts.disabled
Normal file
10
api/src/routes/template.ts.disabled
Normal file
@ -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;
|
Loading…
x
Reference in New Issue
Block a user