{"size": 289, "ext": "js", "max_stars_repo_path": "src/api/routes/step.js", "max_stars_repo_name": "meroo36/activity-tracer-backend", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/api/routes/step.js", "max_issues_repo_name": "meroo36/activity-tracer-backend", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/api/routes/step.js", "max_forks_repo_name": "meroo36/activity-tracer-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": 28.9, "max_line_length": 73, "alphanum_fraction": 0.7093425606}
import { Router } from "express";
const router = Router();
import { auth } from "../middlewares/index.js";
import { sendSteps, getWeeklySteps } from "../controllers/step/index.js";

router.put("/send", auth, sendSteps);
router.get("/weekly", auth, getWeeklySteps);

export default router;
