Created
July 22, 2015 03:27
-
-
Save CADBOT/2e0b4f319f72d9c89e62 to your computer and use it in GitHub Desktop.
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 catsRouter = express.Router(); | |
var dogsRouter = express.Router(); | |
// setup RESTful ish routes for each router... | |
app.use('/api', catsRouter); | |
app.use('/api', dogsRouter); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment