Skip to content

Instantly share code, notes, and snippets.

@CADBOT
Created July 22, 2015 03:27
Show Gist options
  • Save CADBOT/2e0b4f319f72d9c89e62 to your computer and use it in GitHub Desktop.
Save CADBOT/2e0b4f319f72d9c89e62 to your computer and use it in GitHub Desktop.
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