From 0f8e78e4a74d5168c5df585d630f6a1541f76958 Mon Sep 17 00:00:00 2001 From: KOSASIH Date: Fri, 10 May 2024 14:38:45 +0700 Subject: [PATCH] Create index.js --- src/controllers/index.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/controllers/index.js diff --git a/src/controllers/index.js b/src/controllers/index.js new file mode 100644 index 000000000..639a0fa07 --- /dev/null +++ b/src/controllers/index.js @@ -0,0 +1,10 @@ +const express = require("express"); +const router = express.Router(); + +const AccountsController = require("./accounts"); +const TransfersController = require("./transfers"); + +router.use("/accounts", AccountsController); +router.use("/transfers", TransfersController); + +module.exports = router;