{"size": 233, "ext": "js", "max_stars_repo_path": "routes/users.js", "max_stars_repo_name": "bloodymandoo/frameserver", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "routes/users.js", "max_issues_repo_name": "bloodymandoo/frameserver", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "routes/users.js", "max_forks_repo_name": "bloodymandoo/frameserver", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 29.125, "max_line_length": 51, "alphanum_fraction": 0.7124463519}
const User = require('../controllers/user.js')

module.exports = (baseUrl,router)=>{
  router.post(baseUrl+'/register', User.register)
  router.post(baseUrl+'/login', User.login)
  router.get(baseUrl+'/getUserInfo', User.userInfo)
}
