Skip to content

Commit

Permalink
update health check
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Chen committed Apr 17, 2020
1 parent 52439d1 commit 0747bae
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
# Express & mongoose REST API for FUUTR apps and admin portal
# About

- Node.js back-end: https://github.com/chrischenyc/fuutr-server
- React admin portal: https://github.com/chrischenyc/fuutr-admin-web
- iOS rider app: https://github.com/chrischenyc/fuutr-rider-app-ios

## System Architecture

![System Architecture](https://www.capturedlabs.com/fuutr-architecture.png)

## Overview

Expand Down
2 changes: 2 additions & 0 deletions buildspec.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# https://docs.aws.amazon.com/codebuild/latest/userguide/build-spec-ref.html

version: 0.2

phases:
Expand Down
2 changes: 1 addition & 1 deletion src/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const search = require('./search');
const issues = require('./issues');

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

router.use('/remoteConfig', remoteConfig);
Expand Down

0 comments on commit 0747bae

Please sign in to comment.