PR-448199:

Moving Server to src directory.
This commit is contained in:
2022-05-25 23:48:42 +00:00
parent e9bc4f091f
commit 2b698e785a
13 changed files with 7 additions and 4 deletions

13
src/routes/index.ts Normal file
View File

@ -0,0 +1,13 @@
'use strict';
// use this to set API REST
import express from 'express';
import bodyParser from 'body-parser';//bodyParser conversionde Api REST,
const apiRouter = express.Router();//Router de Express
apiRouter
.use(bodyParser.json())
.use(bodyParser.urlencoded({extended: false}));
export default apiRouter;