{"size": 412, "ext": "js", "max_stars_repo_path": "src/modulos/usuario/routes/usuarioRoutes.js", "max_stars_repo_name": "vhnegrisoli/cadeira-livre-cliente-api", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/modulos/usuario/routes/usuarioRoutes.js", "max_issues_repo_name": "vhnegrisoli/cadeira-livre-cliente-api", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/modulos/usuario/routes/usuarioRoutes.js", "max_forks_repo_name": "vhnegrisoli/cadeira-livre-cliente-api", "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": 34.3333333333, "max_line_length": 67, "alphanum_fraction": 0.7791262136}
import { Router } from "express";
import UsuarioController from "../controller/usuarioController";

const router = new Router();

router.post("/api/usuarios/novo", UsuarioController.salvarUsuario);
router.put("/api/usuarios/:id", UsuarioController.editarUsuario);
router.get("/api/usuarios", UsuarioController.buscarTodos);
router.get("/api/usuarios/:id", UsuarioController.buscarPorId);

export default router;
