aboutsummaryrefslogtreecommitdiffstats
path: root/backend/src/routes/index.js
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswa Kalyan Bhuyan <[email protected]> 2025-04-29 10:47:43 +0530
committerLibravatarLibravatar Biswa Kalyan Bhuyan <[email protected]> 2025-04-29 10:47:43 +0530
commita2e0a65b2599267efe94d665d6305f59b225bbd5 (patch)
treee2cef2031e3f7655e0c5f419020a3f1064c3b7b8 /backend/src/routes/index.js
parent570bf0f3f065d583d6f94ecfc61aae93ba3e43de (diff)
downloadrestaurant-master.tar.gz
restaurant-master.tar.bz2
restaurant-master.zip
feat: added initlaized the frontend and backendHEADmaster
Diffstat (limited to 'backend/src/routes/index.js')
-rw-r--r--backend/src/routes/index.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/backend/src/routes/index.js b/backend/src/routes/index.js
new file mode 100644
index 0000000..4ea5c46
--- /dev/null
+++ b/backend/src/routes/index.js
@@ -0,0 +1,20 @@
+const express = require('express');
+const authRoutes = require('./auth.routes');
+// Import other routes as they are created
+// const menuRoutes = require('./menu.routes');
+// const reservationRoutes = require('./reservations.routes');
+// const orderRoutes = require('./orders.routes');
+// const feedbackRoutes = require('./feedback.routes');
+
+const router = express.Router();
+
+// Auth routes
+router.use('/auth', authRoutes);
+
+// Other routes to be added
+// router.use('/menu', menuRoutes);
+// router.use('/reservations', reservationRoutes);
+// router.use('/orders', orderRoutes);
+// router.use('/feedback', feedbackRoutes);
+
+module.exports = router; \ No newline at end of file