plutoapi-v2/src/common/common.routes.config.ts
Patrick Müller b4f25c1831
All checks were successful
Jenkins Production Deployment
API-9: PartyPlaner Login endpoint (#5)
Co-authored-by: Patrick Müller <patrick@mueller-patrick.tech>
Reviewed-on: #5
Co-authored-by: Patrick Müller <patrick@plutodev.de>
Co-committed-by: Patrick Müller <patrick@plutodev.de>
2021-08-20 18:51:01 +00:00

19 lines
375 B
TypeScript

import express from 'express';
export abstract class CommonRoutesConfig {
app: express.Application;
name: string;
constructor(app: express.Application, name: string) {
this.app = app;
this.name = name;
this.configureRoutes();
}
getName() {
return this.name;
}
abstract configureRoutes(): express.Application;
}