UNPKG

quickstruc

Version:

quickstruc is a Node.js-powered module designed to streamline project scaffolding.

10 lines (6 loc) 279 B
const express = require("express"); const AuthController = require("../controllers/AuthController"); const router = express.Router(); router.route("/login").post(AuthController.login); router.route("/signup").post(AuthController.createUser); module.exports = router;