Created
September 28, 2021 04:38
-
-
Save hieptl/1136d1b6b38d76fcbbd9abae7d664955 to your computer and use it in GitHub Desktop.
index.js - Routes - Tinder Clone
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
const authRoutes = require("./auth"); | |
const userRoutes = require("./users"); | |
const matchRequestsRoutes = require("./requests"); | |
module.exports = function ({ app, dbConn, upload, constants }) { | |
authRoutes({ app, dbConn }); | |
userRoutes({ app, dbConn, upload }); | |
matchRequestsRoutes({ app, dbConn, constants }); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment