Created
April 29, 2018 06:02
-
-
Save jlozovei/70c45199912cfb6f4d28a6c03a91232e to your computer and use it in GitHub Desktop.
index.js - Express Router
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
'use strict' | |
// importing packages | |
const express = require('express') | |
const router = express.Router() | |
// setting an endpoint group | |
router.use('/publications', require('./publications')) | |
// exporting | |
module.exports = router |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment