Created
January 16, 2019 12:54
-
-
Save Sammuel09/0e0e1411f9e9f3dee907d2d8802a7f66 to your computer and use it in GitHub Desktop.
Index file of Routes folder
This file contains hidden or 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
import { Router } from 'express'; | |
import userRoutes from './api/user'; | |
const routes = Router(); | |
routes.use(userRoutes); | |
export default routes; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment