Skip to content

Instantly share code, notes, and snippets.

@techomoro
Created September 30, 2020 11:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save techomoro/89aed9dc19a7ff3d8c55b3946b0f02ef to your computer and use it in GitHub Desktop.
Save techomoro/89aed9dc19a7ff3d8c55b3946b0f02ef to your computer and use it in GitHub Desktop.
const express = require("express");
const router = express.Router();
const register = require("./register");
const login = require("./login");
const profile = require("./profile");
router.use("/register", register);
router.use("/login", login);
router.use("/profile", profile);
module.exports = router;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment