-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 22a8b8b
Showing
3 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/* eslint-disable new-cap */ | ||
'use strict'; | ||
var express = require('express'); | ||
var router = express.Router(); | ||
|
||
router.route('/_health') | ||
.get(healthCheck); | ||
|
||
module.exports = router; | ||
|
||
function healthCheck(req, res, next) { | ||
res.send('I think therefore I am'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"name": "health-check", | ||
"version": "1.0.0", | ||
"main": "index.js", | ||
"repository": "https://github.com/abeai/health-check", | ||
"author": "Abe.ai", | ||
"license": "MIT" | ||
} |