Last active
January 18, 2016 15:35
-
-
Save VanTudor/93959d1dedee85365b67 to your computer and use it in GitHub Desktop.
Express.js example API login file
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(); | |
//config for users related endpoints | |
var userServiceConfig = require("./userServiceConfig"); | |
router.get('/', function(req, res, next) { | |
/*do your handling*/ | |
res.send('reached api/login node'); | |
}); | |
module.exports = router; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment