Created
December 3, 2017 16:16
-
-
Save ichtrojan/2f48729e71a24f930f6e0f4e3c341554 to your computer and use it in GitHub Desktop.
Beans
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(); | |
/* GET users listing. */ | |
router.get('/', function(req, res, next) { | |
res.send('Are you Hungry?'); | |
}); | |
router.get('/beans', function(req, res, next) { | |
res.send('Yay Beans 😀'); | |
}); | |
module.exports = router; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment