-
-
Save cebbus/de23eac2bb023baad2c7 to your computer and use it in GitHub Desktop.
Node.js route örneği
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*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