update npm packages and healthcheck endpoint
This commit is contained in:
parent
164e51bf03
commit
b11f78046f
4 changed files with 592 additions and 1883 deletions
|
|
@ -16,23 +16,23 @@ body:json {
|
||||||
"month": "01",
|
"month": "01",
|
||||||
"day": "02",
|
"day": "02",
|
||||||
"cents": 1000,
|
"cents": 1000,
|
||||||
"description": "With cat, subcat and merchant and two tags",
|
"description": "With cat, no subcat or merchant or tags",
|
||||||
"category": {
|
"category": {
|
||||||
"id": "a73fbfdd-1949-4be9-8cdc-ea9197b9b8b6"
|
"id": "72644e00-f1fa-4029-bd9c-2e82eb965aeb"
|
||||||
},
|
}
|
||||||
"subCategory": {
|
// "subCategory": {
|
||||||
"id": "270ceaea-9cb8-4c6a-846f-ea35ed4d12f7"
|
// "id": "270ceaea-9cb8-4c6a-846f-ea35ed4d12f7"
|
||||||
},
|
// },
|
||||||
"merchant": {
|
// "merchant": {
|
||||||
"id": "61246db4-3110-4fe2-bdab-d819b8fd0705"
|
// "id": "61246db4-3110-4fe2-bdab-d819b8fd0705"
|
||||||
},
|
// },
|
||||||
"tags": [
|
// "tags": [
|
||||||
{
|
// {
|
||||||
"id": "2616f724-f3ce-46df-8b30-897f147f6b74"
|
// "id": "2616f724-f3ce-46df-8b30-897f147f6b74"
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
"id": "16ed84e0-2d17-45c7-ada8-6fe7f8cc8720"
|
// "id": "16ed84e0-2d17-45c7-ada8-6fe7f8cc8720"
|
||||||
}
|
// }
|
||||||
]
|
// ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
meta {
|
meta {
|
||||||
name: Healthcheck
|
name: Health
|
||||||
type: http
|
type: http
|
||||||
seq: 1
|
seq: 1
|
||||||
}
|
}
|
||||||
2435
package-lock.json
generated
2435
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -3,5 +3,7 @@ import { Controller, Get } from '@nestjs/common';
|
||||||
@Controller()
|
@Controller()
|
||||||
export class AppController {
|
export class AppController {
|
||||||
@Get('health')
|
@Get('health')
|
||||||
health(): void {}
|
health() {
|
||||||
|
return { status: 'healthy' };
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue