aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRitesh Ghosh <[email protected]>2023-08-19 22:49:39 +0530
committerRitesh Ghosh <[email protected]>2023-08-19 22:49:39 +0530
commit0791724a9fa4e73d28867acaafe59d466be1fa4a (patch)
tree7dcc8934e5de8322f8fcf2213b603ac43fa73f12
parent5f2759baf6f68d8831aad126e903bf0a6b44235a (diff)
downloadaniwatch-api-0791724a9fa4e73d28867acaafe59d466be1fa4a.tar.xz
aniwatch-api-0791724a9fa4e73d28867acaafe59d466be1fa4a.zip
feat: added `healthcheck` script
-rw-r--r--package.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.json b/package.json
index 697cb2a..d9ab765 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,8 @@
"dev": "nodemon src/server.ts",
"build": "tsc -p tsconfig.json",
"prepare": "husky install",
- "test": "jest"
+ "test": "jest",
+ "healthcheck": "curl -f http://localhost:4000/health"
},
"repository": {
"type": "git",