cad stability

This commit is contained in:
IDONTSUDO 2023-06-30 21:47:53 +03:00
parent f59bb9d801
commit fe714b1123
40 changed files with 1655 additions and 49 deletions

View file

@ -17,8 +17,11 @@ const corsOptions = {
};
export class App {
public app: express.Application;
public port: string | number;
public env: string;
constructor(routes: Routes[], port) {
this.app = express();
this.port = port;
@ -61,6 +64,7 @@ export class App {
this.app.use("/", route.router);
});
}
loadAppDependencies() {
locator(new DevEnv());
}