url 2 pdf support, update test run, reduse imge size,
This commit is contained in:
parent
e921875bde
commit
f6b68e4379
32 changed files with 3851 additions and 1108 deletions
2
app.ts
2
app.ts
|
|
@ -10,6 +10,7 @@ import swaggerUi from "swagger-ui-express"
|
|||
import express, { Express, Request, Response } from 'express'
|
||||
import { docxTemplateRoute } from './libs/docx-templates-lib'
|
||||
import { xlsxTemplateRoute } from './libs/xlsx-template-lib'
|
||||
import { htmlTemplateRoute } from "./libs/html-templates-lib"
|
||||
import { convertTemplateRoute } from './libs/convert-libs'
|
||||
const app: Express = express()
|
||||
const port: number = Number(process.env.PORT) || 80;
|
||||
|
|
@ -25,5 +26,6 @@ app.get('/', (req: Request, res: Response) => {
|
|||
})
|
||||
app.use('/api/v1/report-template/docx', docxTemplateRoute);
|
||||
app.use('/api/v1/report-template/xlsx', xlsxTemplateRoute);
|
||||
app.use('/api/v1/report-template/html', htmlTemplateRoute);
|
||||
app.use('/api/v1/report-template/convert', convertTemplateRoute);
|
||||
app.listen(port, () => console.log(`Application is running on port ${port}`))
|
||||
Loading…
Add table
Add a link
Reference in a new issue