Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Express Status Monitor #21

Merged
merged 1 commit into from
Jul 21, 2020
Merged

Conversation

ritvij14
Copy link
Member

Pull request checklist

Please check if your PR 🚀 fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been reviewed and added/updated if needed (for bug fixes/features)
  • Build (npm run start) was run locally and new changes were working correctly
  • Lint (npm run linter) has passed locally and any fixes were made for failures

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

Fixes #15

What is the new behavior?

  • On using on the defined endpoint (/mello-stats) the express status monitor starts up to show website stats.

Does this introduce a breaking change?

  • Yes
  • No

Other information

We need to add some security check as mentioned in the docs here
https://www.npmjs.com/package/express-status-monitor#securing-endpoint

Also, once Apis are made we need to replace the value of const API from 'apiPrefix' to the proper prefix for all APIs.

@ritvij14
Copy link
Member Author

Issues for other information:
#22
#23

@Sarvesh67 Sarvesh67 merged commit 50157a0 into Devsoc-BPGC:master Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setup Express Setup monitor
2 participants