{"size": 381, "ext": "js", "max_stars_repo_path": "routes/users.js", "max_stars_repo_name": "dudelybhai/VBI-Music-Backend", "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": "dudelybhai/VBI-Music-Backend", "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": "dudelybhai/VBI-Music-Backend", "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": 38.1, "max_line_length": 79, "alphanum_fraction": 0.7375328084}
const UserController = require("../controllers/users")
const validateToken = require("../utils").validateToken

module.exports = (router) => {
	router.route("/user").post(UserController.add) // This route will be protected
	router.route("/login").post(UserController.login)
	// router.route("/logout").get(UserController.logout)
	router.route("/user").get(UserController.getAll)
}
