text: import express from 'express'
  import userCtrl from '../controllers/user.controller'
  import authCtrl from '../controllers/auth.controller'
  
  const router = express.Router();
  
  router.route('/api/users')
    .get(userCtrl.list)
    .post(userCtrl.create);
  
  router.route('/api/users/:userId')
    .get(authCtrl.requireSignin, userCtrl.read)
    .put(authCtrl.requireSignin, authCtrl.hasAuthorization, userCtrl.update)
    .delete(authCtrl.requireSignin, authCtrl.hasAuthorization, userCtrl.remove);
  router.route('/api/stripe_auth/:userId')
    .put(authCtrl.requireSignin, authCtrl.hasAuthorization, userCtrl.stripe_auth, userCtrl.update);
  router.route('/api/password')
      .post(userCtrl.getResetPasswordLink);
  router.route('/api/password/change')
      .post(userCtrl.resetPassword);
  
  router.param('userId', userCtrl.userByID);
  
  export default router
  