Created
October 24, 2020 18:52
-
-
Save RyanKor/708aca268c308ba3931ff50cb50f0ed2 to your computer and use it in GitHub Desktop.
router/post.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require("express"); | |
const router = express.Router(); | |
const postController = require("../controllers/post"); | |
router.post("/", postController.textUpload); | |
router.get("/hashtag", postController.hashtagSearch); | |
module.exports = router; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment