Created
September 16, 2019 18:46
-
-
Save artemis15/83788b83d374ac781459c297551de486 to your computer and use it in GitHub Desktop.
handling of versioning of API
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
const express = require('express'); | |
const v1ApiController = require('./v1'); | |
let mainApiRouter = express.Router(); | |
mainApiRouter.use('/v1',v1ApiController); | |
module.exports = mainApiRouter; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment