Add expressHelper
This commit is contained in:
parent
edfd5abd48
commit
7eefe90d8c
11
be/src/expressHelper.ts
Normal file
11
be/src/expressHelper.ts
Normal 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 };
|
Loading…
Reference in a new issue