Add expressHelper

This commit is contained in:
Nikhil Nawgiri 2024-10-26 22:48:33 +02:00
parent edfd5abd48
commit 7eefe90d8c

11
be/src/expressHelper.ts Normal file
View file

@ -0,0 +1,11 @@
import express, { type Express } from "express";
import bodyParser from "body-parser";
const app: Express = express();
app.use(bodyParser.urlencoded({
extended: true
}));
app.use(bodyParser.json());
export { app };