NodeJS Express multiple route file through one route file
<p>I am learning NodeJS. I have a nodeJS API project. I want to use version in routes so i created following folder structure.</p>

<pre><code>application/    
    --app.js
    --routes/
    ----V1/
    ------routes.js
    ------users.js
</code></pre>

<p>Here is my app.js file:</p>

<pre><code> var v1 = require('./routes/v1/route');

 app.use('/api/v1', v1.router);
</code></pre>

<p>And this is route.js file:</p>

<pre><code>var express = require('express');
var router = express.Router();
router.get('/',function(req,res){    
    res.send("Welcome to Node JS V1");
});

var courses = require('./users').router;
-- How to include usres route here

module.exports.router = router;
</code></pre>

<p>users.js file:</p>

<pre><code>var express = require('express');
var router = express.Router();
router.get('/',function(req,res){    
    res.send("Get all users.");
});


module.exports.router = router;
</code></pre>

<p>Now how i can call users from route.js file.</p>