modarb-be / src /lib /controllers /controller.base.ts
moahmedwafy's picture
refactor: stop using static controllers
ac9dbd5
raw
history blame contribute delete
181 Bytes
import { Router } from "express";
export abstract class BaseController {
public router: Router = Router();
public prefix: string = "/";
public abstract setRoutes(): void;
}