Skip to content

Instantly share code, notes, and snippets.

@nomanHasan
Last active September 7, 2017 20:22
Show Gist options
  • Save nomanHasan/ed7b7a62a3abc8c60972bab831fd1e96 to your computer and use it in GitHub Desktop.
Save nomanHasan/ed7b7a62a3abc8c60972bab831fd1e96 to your computer and use it in GitHub Desktop.
Api Route File #1
var express = require('express')
var router = express.Router()
var todos = require('./api/todos.route')
router.use('/todos', todos);
module.exports = router;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment