Created
September 20, 2020 05:10
-
-
Save disaada/ad6382ce42b114f96304e9ba26354204 to your computer and use it in GitHub Desktop.
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 user = require('./routes/user') | |
app.get('/user/:id', authenticateJWT, user.getUser) | |
app.put('/user/:id', authenticateJWT, user.updateUser) | |
app.delete('/user/:id', authenticateJWT, user.deleteUser) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment