API-26: Creating endpoint for RaPla changes
Jenkins Production Deployment

This commit is contained in:
2021-09-20 22:17:52 +02:00
parent 94b53aff4c
commit dec9bb8681
5 changed files with 137 additions and 1 deletions
+3 -1
View File
@@ -5,7 +5,8 @@ import * as dotenv from 'dotenv';
import {partyPlanerRouter} from './src/models/partyplaner/PartyPlaner.router';
import {highlightMarkerRouter} from './src/models/twitch-highlight-marker/HighlightMarker.router';
import {dhbwServiceRouter} from './src/models/dhbw-service/DHBWService.router';
import logger from "./src/middleware/logger";
import logger from './src/middleware/logger';
import {dhbwRaPlaChangesRouter} from './src/models/dhbw-rapla-changes/DHBWRaPlaChanges.router';
dotenv.config();
@@ -26,6 +27,7 @@ app.use(express.json());
app.use('/dhbw-service', dhbwServiceRouter);
app.use('/twitch-highlight-marker', highlightMarkerRouter);
app.use('/partyplaner', partyPlanerRouter);
app.use('/raplachanges', dhbwRaPlaChangesRouter);
// this is a simple route to make sure everything is working properly
app.get('/', (req: express.Request, res: express.Response) => {