{"size": 223, "ext": "js", "max_stars_repo_path": "api/user.js", "max_stars_repo_name": "Abinash393/conduit-rest", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "api/user.js", "max_issues_repo_name": "Abinash393/conduit-rest", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "api/user.js", "max_forks_repo_name": "Abinash393/conduit-rest", "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": 22.3, "max_line_length": 46, "alphanum_fraction": 0.7219730942}
const router = require("express").Router()
const userCon = require("../controllers/user")

// register user
router.post("/signup", userCon.signup)

// login user
router.post("/login", userCon.login)

module.exports = router