master
Cemal Odabasioglu 2024-01-26 15:37:47 +01:00
parent d08aa81411
commit 65fae52da5
3 changed files with 6158 additions and 5903 deletions

View File

@ -3,7 +3,9 @@
module.exports = { module.exports = {
method: 'get', method: 'get',
path: '/user', path: '/user',
options: { }, options: {
tags: ['api'],
},
handler: async (request, h) => { handler: async (request, h) => {
return { firstName: 'John', lastName: 'Doe'}; return { firstName: 'John', lastName: 'Doe'};

903
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -15,7 +15,7 @@ module.exports = new Confidence.Store({
port: { port: {
$param: 'PORT', $param: 'PORT',
$coerce: 'number', $coerce: 'number',
$default: 3000 $default: 4000
}, },
debug: { debug: {
$filter: 'NODE_ENV', $filter: 'NODE_ENV',