PR-448199:

Adding files from first version.
Creating GraphQL server with their controllers and their models, squema and resolvers.
Adding support to webpack and typescript.
This commit is contained in:
2022-05-25 21:08:50 +00:00
parent 4b9abd6aac
commit b55b0f61a9
21 changed files with 14710 additions and 0 deletions

13
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;