var
  express = require('express'),
  router = express.Router();

router.get('/', function (req, res, next) {
  res.json(["users"]);
  return next();
});

module.exports = router;

var
  express = require('express'),
  router = express.Router();

// GET /users
router.get('/', function (req, res, next) {
  res.json(["users"]);
  return next();
});

// GET /users/:id
router.get('/:id', function (req, res, next) {
	res.json({id: req.params.id, name: "John Doe"});
	return next();
})

module.exports = router;

Add simple sample for user router
Add simple sample for user router
