userRouter.js 283 Bytes
import express from "express";
import { finishGithubLogin, startGithubLogin } from "../controllers/globalController";

const userRouter = express.Router();

userRouter.get("/github/start",startGithubLogin)
userRouter.get("/github/finish",finishGithubLogin)

export default userRouter