Created
June 1, 2015 01:27
-
-
Save Rokt33r/baa4f156749b9518ae23 to your computer and use it in GitHub Desktop.
Express Router
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
var express = require('express'); | |
var router = express.Router(); | |
router.get('/', function(req, res) { | |
res.send('Welcome to the API zone'); | |
}); | |
module.exports = router; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment