{"size": 303, "ext": "js", "max_stars_repo_path": "src/routes/authentication.js", "max_stars_repo_name": "hhpr98/AdvancedWebDev_FinalProject_21_backend", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/routes/authentication.js", "max_issues_repo_name": "hhpr98/AdvancedWebDev_FinalProject_21_backend", "max_issues_repo_issues_event_min_datetime": "2021-05-09T12:38:31.000Z", "max_issues_repo_issues_event_max_datetime": "2021-09-02T15:33:48.000Z", "max_forks_repo_path": "src/routes/authentication.js", "max_forks_repo_name": "hhpr98/AdvancedWebDev_FinalProject_21_backend", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 2, "max_forks_count": null, "avg_line_length": 27.5454545455, "max_line_length": 82, "alphanum_fraction": 0.7623762376}
import {Router} from 'express';
import { login, employeeLogin,refreshToken } from '../controllers/AuthController';

const   authRouter = Router();

authRouter.post('/login',login);
authRouter.post('/admin-login',employeeLogin);
authRouter.post('/refresh-token',refreshToken)


export default authRouter;