Presupuestador_web/server/src/infrastructure/express/api/v1.ts

13 lines
313 B
TypeScript
Raw Normal View History

2024-04-23 17:19:41 +00:00
import { catalogRouter } from "@/contexts/catalog/infrastructure/express/catalogRoutes";
2024-04-23 15:29:38 +00:00
import express from "express";
const v1Router = express.Router({ mergeParams: true });
v1Router.get("/hello", (req, res) => {
res.send("Hello world!");
});
2024-04-23 17:19:41 +00:00
v1Router.use("/catalog", catalogRouter);
2024-04-23 15:29:38 +00:00
export { v1Router };