Add full project files
This commit is contained in:
8
routes/application/profile/index.js
Normal file
8
routes/application/profile/index.js
Normal file
@@ -0,0 +1,8 @@
|
||||
const express = require('express')
|
||||
const { getProfile , getUserById} = require('../../../controllers/application/profile/profileController')
|
||||
const auth = require('../../../middlewares/auth')
|
||||
const router = express.Router()
|
||||
router.get('/',[auth], getProfile)
|
||||
router.get('/:id', getUserById)
|
||||
|
||||
module.exports = router
|
||||
Reference in New Issue
Block a user