Created
February 16, 2019 14:42
-
-
Save tarusharora/bfc63e8828dcdfbc8c7969fba7ee4699 to your computer and use it in GitHub Desktop.
route file for user related routes
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 { getUsersCtrl } = require('../controllers/userController') | |
module.exports = async function (fastify) { | |
fastify.get('/users', getUsersCtrl) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment