Skip to content

Commit 0747bae

Browse files
author
Chris Chen
committed
update health check
1 parent 52439d1 commit 0747bae

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
# Express & mongoose REST API for FUUTR apps and admin portal
1+
# About
2+
3+
- Node.js back-end: https://github.com/chrischenyc/fuutr-server
4+
- React admin portal: https://github.com/chrischenyc/fuutr-admin-web
5+
- iOS rider app: https://github.com/chrischenyc/fuutr-rider-app-ios
6+
7+
## System Architecture
8+
9+
![System Architecture](https://www.capturedlabs.com/fuutr-architecture.png)
210

311
## Overview
412

buildspec.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html
2+
13
version: 0.2
24

35
phases:

src/routes/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const search = require('./search');
1515
const issues = require('./issues');
1616

1717
router.get('/health-check', (req, res) => {
18-
res.status(200).send();
18+
res.json({ message: 'server is up' });
1919
});
2020

2121
router.use('/remoteConfig', remoteConfig);

0 commit comments

Comments
 (0)