summary refs log tree commit diff
path: root/src/api/routes/template.ts.disabled
blob: c9d78a034c5c271112dcda119481ef1f1e416d2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
//TODO: this is a template for a generic route

import { Router, Request, Response } from "express";
import { route } from "@spacebar/api";
const router = Router();

router.get("/",route({}), async (req: Request, res: Response) => {
	res.json({});
});

export default router;