Skip to content

Instantly share code, notes, and snippets.

@cebbus

cebbus/index.js Secret

Last active March 10, 2016 22:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cebbus/de23eac2bb023baad2c7 to your computer and use it in GitHub Desktop.
Save cebbus/de23eac2bb023baad2c7 to your computer and use it in GitHub Desktop.
Node.js route örneği
/*Sedad Pehlivanli tarafindan deneme amacli olusturuldu*/
var express = require('express');
var router = express.Router();
/* GET home page. */
router.get('/', function(req, res, next) {
res.render('index', { title: 'nodeprogramlama.com' }); //index sayfasina yonlendirir
});
module.exports = router;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment