Skip to content

Commit

Permalink
initial
Browse files Browse the repository at this point in the history
  • Loading branch information
samartioli committed Mar 20, 2017
0 parents commit 22a8b8b
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
Empty file added README.md
Empty file.
13 changes: 13 additions & 0 deletions index.js
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');
}
8 changes: 8 additions & 0 deletions package.json
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"
}

0 comments on commit 22a8b8b

Please sign in to comment.