Skip to content

Instantly share code, notes, and snippets.

@tushartuteja
Created December 6, 2019 10:49
Show Gist options
  • Save tushartuteja/9187a2f46ae3b76c06ecc18f7734b7e7 to your computer and use it in GitHub Desktop.
Save tushartuteja/9187a2f46ae3b76c06ecc18f7734b7e7 to your computer and use it in GitHub Desktop.
import express from 'express';
var router = express.Router();
/* GET home page. */
router.get('/', function(req, res, next) {
res.render('index', { title: 'Express' });
});
export default router;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment