Skip to content

Instantly share code, notes, and snippets.

@alperbayram
Created February 7, 2022 13:09
Show Gist options
  • Save alperbayram/28a1dde645fb81283ad25ecb9868fa35 to your computer and use it in GitHub Desktop.
Save alperbayram/28a1dde645fb81283ad25ecb9868fa35 to your computer and use it in GitHub Desktop.
Routes
const express = require("express");
const ContactController = require("../Controller/ContactController");
const router = express.Router();
router.route("/").post(ContactController.sendEmail);
module.exports = router;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment