diff --git a/be/src/expressHelper.ts b/be/src/expressHelper.ts new file mode 100644 index 0000000..7f2231f --- /dev/null +++ b/be/src/expressHelper.ts @@ -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 };