(flavor) objection v3.0.0
parent
ca9558f401
commit
0b129a2c5f
|
@ -0,0 +1,11 @@
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
method: 'get',
|
||||||
|
path: '/user',
|
||||||
|
options: { },
|
||||||
|
handler: async (request, h) => {
|
||||||
|
|
||||||
|
return { firstName: 'John', lastName: 'Doe'};
|
||||||
|
}
|
||||||
|
};
|
File diff suppressed because it is too large
Load Diff
22
package.json
22
package.json
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "iut-project-cemal",
|
"name": "iut-project",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"author": "",
|
"author": "",
|
||||||
|
@ -17,9 +17,11 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@hapi/boom": "9.x.x",
|
"@hapi/boom": "9.x.x",
|
||||||
"@hapipal/haute-couture": "4.x.x",
|
"@hapipal/haute-couture": "4.x.x",
|
||||||
"@hapipal/schwifty": "6.x.x",
|
|
||||||
"joi": "17.x.x",
|
"joi": "17.x.x",
|
||||||
"objection": "2.x.x"
|
"objection": "2.x.x",
|
||||||
|
"@hapipal/schwifty": "6.x.x",
|
||||||
|
"sqlite3": "5.0.2",
|
||||||
|
"exiting": "6.0.1"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"knex": "0.21.x"
|
"knex": "0.21.x"
|
||||||
|
@ -32,18 +34,16 @@
|
||||||
"@hapi/hapi": "20.x.x",
|
"@hapi/hapi": "20.x.x",
|
||||||
"@hapi/hoek": "9.x.x",
|
"@hapi/hoek": "9.x.x",
|
||||||
"@hapi/inert": "6.x.x",
|
"@hapi/inert": "6.x.x",
|
||||||
"@hapi/lab": "24.x.x",
|
"@hapi/lab": "23.x.x",
|
||||||
"@hapi/vision": "6.x.x",
|
"@hapi/vision": "6.x.x",
|
||||||
"@hapipal/confidence": "6.x.x",
|
|
||||||
"@hapipal/hpal": "3.x.x",
|
|
||||||
"@hapipal/hpal-debug": "2.x.x",
|
|
||||||
"@hapipal/toys": "3.x.x",
|
|
||||||
"babel-eslint": "10.x.x",
|
"babel-eslint": "10.x.x",
|
||||||
|
"@hapipal/confidence": "6.x.x",
|
||||||
"dotenv": "8.x.x",
|
"dotenv": "8.x.x",
|
||||||
"eslint": "7.x.x",
|
"eslint": "7.x.x",
|
||||||
"exiting": "6.x.x",
|
|
||||||
"hapi-swagger": "14.x.x",
|
"hapi-swagger": "14.x.x",
|
||||||
"knex": "0.21.x",
|
"@hapipal/hpal": "3.x.x",
|
||||||
"sqlite3": "5.x.x"
|
"@hapipal/hpal-debug": "2.x.x",
|
||||||
|
"knex": "^0.21.16",
|
||||||
|
"@hapipal/toys": "3.x.x"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue