Add core project files

This commit is contained in:
2026-01-05 15:49:34 +05:30
commit 6490fab6e6
84 changed files with 1008 additions and 0 deletions

8
routes/contactRoutes.js Normal file
View File

@@ -0,0 +1,8 @@
const express = require('express');
const router = express.Router();
const { saveContact } = require('../controllers/contactController');
// ✅ Use `router.post`, NOT `app.post`
router.post('/', saveContact);
module.exports = router;