Initial commit

This commit is contained in:
laxmi-27
2025-12-12 13:37:56 +05:30
commit d745ab0f1b
12 changed files with 2502 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;